private void Start() { gameInputs = GameInputs.singleton; attack = GetComponent <AttackDrawer>(); _currentState = InputState.PreBell; bell.OnBell += SetPostBell; AssignInternalInputs(player); }
private void SingletonCheck() { if (singleton == null) { singleton = this; } else { print("ERROR, more than one GameInputs class detected!"); } }