CommunicationBridgeSetMultiplayerComponent Method
If the
Multiplayer reference is null, set it to active
Multiplayer component.
void OnEnable() => SetMultiplayerComponent();
SetMultiplayerComponent call it in
OnEnable unless hidden.
Namespace: AlterunaAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
protected bool SetMultiplayerComponent(
bool force = false
)
- force Boolean (Optional)
- When set to true, it will ignore the current value of the Multiplayer reference
BooleanTrue when Multiplayer is not null.