Class OnlyShowIfIsOwner
A useful MonoBehaviour which (on startup) sets a gameobject active or inactive depending on if the current user is an admin/owner of the game.
Inherited Members
Namespace: PlayUR
Assembly: Assembly-CSharp.dll
Syntax
public class OnlyShowIfIsOwner : PlayURBehaviour
Methods
OnReady()
Override this method to do something when the plugin is ready. Implementation is that this function is the registered callback to PlayURPlugin.instance.OnReady. This registration takes place in Start().
Declaration
public override void OnReady()
Overrides
Start()
The standard Unity Start callback function. If overriding, must call base.Start() if you wish to use OnReady().
Declaration
public override void Start()