protected void OnEnable() { GameInputManager.ObserveAxis("Horizontal"); GameInputManager.ObserveAxis("Vertical"); GameInputManager.Register(OnInputEvent); Toolbar.Instance.OnSelectedSlotItemChanged += CheckCarrying; }
public void Awake() { isFishable = true; GameInputManager.ObserveMouseButton(0); GameInputManager.Register(OnInputEvent); }
private void OnEnable() { GameInputManager.ObserveMouseButton(0); GameInputManager.Register(OnInputEvent); }