Exemplo n.º 1
0
    protected void OnEnable()
    {
        GameInputManager.ObserveAxis("Horizontal");
        GameInputManager.ObserveAxis("Vertical");

        GameInputManager.Register(OnInputEvent);
        Toolbar.Instance.OnSelectedSlotItemChanged += CheckCarrying;
    }
Exemplo n.º 2
0
 public void Awake()
 {
     isFishable = true;
     GameInputManager.ObserveMouseButton(0);
     GameInputManager.Register(OnInputEvent);
 }
Exemplo n.º 3
0
    private void OnEnable()
    {
        GameInputManager.ObserveMouseButton(0);

        GameInputManager.Register(OnInputEvent);
    }