Exemple #1
0
 private void OnDestroy()
 {
     if (FarmObject_DigiGarden.instance == this)
     {
         FarmObject_DigiGarden.instance = null;
     }
 }
Exemple #2
0
 protected override void Start()
 {
     base.Start();
     if (FarmObject_DigiGarden.instance == null || FarmObject_DigiGarden.instance != this)
     {
         FarmObject_DigiGarden.instance = this;
         this.SetAutoActiveCanEvolveParticle();
     }
 }