Unity/로또번호 추첨2 [유니티] 로또번호 추첨하기(2) 1. C# Script using System.Collections; using System.Collections.Generic; using UnityEngine; public class LottoGame : MonoBehaviour { //인스펙터에 생김 //public int[] arrays; public int gameCount; // Start is called before the first frame update void Start() { int[] lottoBalls = new int[6]; int[] lottoBallCounts = new int[45]; int count = 0; for (count=0; count 2021. 4. 27. [유니티] 로또번호 추첨하기 1. C# Script using System.Collections; using System.Collections.Generic; using UnityEngine; public class LottoGame : MonoBehaviour { //인스펙터에 생김 //public int[] arrays; // Start is called before the first frame update void Start() { int[] lottoBalls = new int[6]; string lottoStr = ""; for (int i=0; i 2021. 4. 27. 이전 1 다음