OnInput

Options

Executing "bool push = input.GetMouseButtonDown (0));" in "OnInput" may not return True.

Comments

  • ramonmelo
    Options

    Hi @Fami ,


    The Fusion Update loop is not invoked from the Unity Update Loop, so it will not align with the usual Input Listening system.

    For cases like this, we suggest using just the usual Input.GetKey, which will be captured even in cases like this.

    Please, take a look at our 101 Series, they describe how to properly capture Player Input: https://doc.photonengine.com/en-us/fusion/current/fusion-100/overview


    --

    Ramon Melo

    Photon Bolt Team