LoadComponent
Raise
This Event is raised for every player when the game just loaded all the Components of the Player.
It is usually only called one time for each player around the time he joined
Usage
This event should be used to add new Components to the Player that can be accessed later
LoadComponentEvent
EventArgs | Type | Description |
---|---|---|
Player | SynapsePlayer | The SynapsePlayer Component of the Player |
PlayerGameObject | GameObject | The Game Object of the Player |
AddComponent<TComponent>() | Method | Adds the Component to the Player Game Object if possible |
Last updated