private void passthroughLocalPlayerStarted(NetworkedPlayerController IPC) { LocalPlayerStartHandler handler = LocalPlayerStarted; if (oem.shouldTriggerEvent(handler)) { handler(IPC); } }
public void OnStartAuthority () { //Debug.Log("IPC authority started"); if (setup_complete) { LocalPlayerStartHandler handler = LocalPlayerStarted; if (oem.shouldTriggerEvent(handler)) { handler(this); } } }
/// <summary> /// I only want to propagate this event /// if we have local authority /// </summary> public void SetupComplete () { Debug.Log("IPC setup complete"); setup_complete = true; if (hasAuthority) { LocalPlayerStartHandler handler = LocalPlayerStarted; if (oem.shouldTriggerEvent(handler)) { handler(this); } } }