☝️Interactions with environment

These components will allow you to introduce interactions with environment like doors, lights, fireworks

OnStartHandler

It invokes OnStart event and tries to Invoke View.Handle() after server responded with world data, i.e. right before player start seeing other players.

OnTriggerHandler

It works exactly as Unity3D Trigger Events.

OnClickHandler

It works exactly as Unity3D EventSystem. In addition to this you may want to call OnClickHandler.ReplaceCursor(true/false) OnPointerEnter and OnPointerExit to provide better visual feedback when player hovers on it.

Last updated