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+03e8eebec78141d9d3b2022fda2c0ac58d3116b9
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.