void Awake() { if (!Instance) { Instance = this; } else { Debug.Log("Already an Input Manager in the Scene !"); Destroy(this); } }
void OnDestroy() { #region Events #region FingersCombinaison OnFirstCombination = null; OnSecondCombination = null; OnThirdCombination = null; OnFourthCombination = null; OnFifthCombination = null; OnSixCombination = null; OnSevenCombination = null; OnEightCombination = null; #endregion #endregion Instance = null; }