private void Awake() { if (instance != null) { Destroy(this); } instance = this; }
void Awake() { if (instance != null) { //Destroy (this.gameObject); return; } instance = this; DontDestroyOnLoad(gameObject); }
private void OnEnable() { vibManager = (VibManager)target; }
private void OnEnable() { vibManager = (VibManager)target; EnumerizeKeys(); }