Exemple #1
0
 private void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Destroy(gameObject);
         return;
     }
 }
Exemple #2
0
 private void Start()
 {
     blood = HeartBlood.Instance;
 }