Beispiel #1
0
 public void Awake()
 {
     isFishable = true;
     GameInputManager.ObserveMouseButton(0);
     GameInputManager.Register(OnInputEvent);
 }
Beispiel #2
0
    private void OnEnable()
    {
        GameInputManager.ObserveMouseButton(0);

        GameInputManager.Register(OnInputEvent);
    }