Example #1
0
 void Awake()
 {
     if (_instance == null)
     {
         _instance = this;
     }
     else
     {
         Destroy(this.gameObject);
     }
 }
Example #2
0
 private void Start()
 {
     _earth = AllLife.Instance;
     _maker = AllLifeMaker.Instance;
     _maker.Create(_earth);
 }