private void RaiseStart(ECSNetworkManager pNetworkManager) { if (OnStart != null) { OnStart(pNetworkManager); } }
private void RaiseFailedToBind(ECSNetworkManager pNetworkManager) { if (OnFailedToBind != null) { OnFailedToBind(pNetworkManager); } }
//Functions #region Unity private void Awake() { if (ECSNetworkManager.IsInitialized) { Destroy(gameObject); return; } _instance = this; _tmpMetadata = new BMSByte(); DontDestroyOnLoad(gameObject); }