
Actions get executed on play mode start
If you want to make your custom action, inherit from IParrelSyncAction
Example - Set the network to the specified runtime mode
[Serializable]
public class NetworkRuntimeModeParrelSyncAction : IParrelSyncAction
{
[SerializeField]
private NetworkRuntimeMode _RuntimeMode;
public void OnPlayModeStarted()
{
NetworkUtils.EditorRuntimeMode = _RuntimeMode;
}
}
