// Use this for initialization void Awake() { if(Instance!=null) { Debug.LogError("too many fire"); } Instance = this; }
// Use this for initialization void Awake() { if (Instance != null) { Debug.LogError("too many fire"); } Instance = this; }
void Awake() { // Register the singleton if (Instance != null) { Debug.LogError("Multiple instances of SpecialEffectsHelper!"); } Instance = this; }