Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

What is the most performant behaviour in Player Input?

Discussion in 'Input System' started by Reverend-Speed, Sep 23, 2020.

  1. Reverend-Speed

    Reverend-Speed

    Joined:
    Mar 28, 2011
    Posts:
    284
    Hey folks!

    Just looking at the Behavior setting of Player Input, which includes Send Messages, Broadcast Messages, Invoke Unity Events, Invoke C Sharp Events.

    Does anybody have an idea which is most performant? I seem to recall that Send Messages is used for Animation Events, so presumably it's fairly good... but then why do we also have the option to use C# events?

    Any preferences or arguments, folks? Thanks in advance,

    --Rev
     
    sarynth likes this.