예제 #1
0
 // Use this for initialization
 void Start()
 {
     BallContainerSingleton = this;
     ballContainer          = new List <Ball>();
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     ballContainer = GameObject.Find("BallContainer").GetComponent <BallContainer>();
 }