Example #1
0
 private void Awake()
 {
     if (instance != null)
     {
         Debug.LogError((object)"Multiple Combat systems present");
     }
     instance = this;
 }
Example #2
0
 private void OnDestroy()
 {
     instance = null;
 }