using SetTrigger() with PUN

Options
since setTrigger has no corresponding get function, how do i use this with OnSerializeView()? bools and floats i can use Get to sync them, but not triggers, and many of my animation events are started by SetTrigger and not SetBool. :?:

Comments

  • Tobias
    Options
    Please read the Marco Polo Tutorial. It shows how to sync animation by syncing "actions". You can do something similar by syncing movement, etc.
    Basically, you should not need to sync triggers, as they should be setup to trigger when you sync the user's input or actions.

    http://doc.exitgames.com/en/pun/current ... marco-polo