예제 #1
0
 private void Awake()
 {
     Instance = this;
     _random = new System.Random();
     if (Sprites.Length == 0)
         gameObject.SetActive(false);
 }
예제 #2
0
 private void Awake()
 {
     Instance = this;
     _random  = new System.Random();
     if (Sprites.Length == 0)
     {
         gameObject.SetActive(false);
     }
 }