Example #1
0
 private void RaiseStart(ECSNetworkManager pNetworkManager)
 {
     if (OnStart != null)
     {
         OnStart(pNetworkManager);
     }
 }
Example #2
0
 private void RaiseFailedToBind(ECSNetworkManager pNetworkManager)
 {
     if (OnFailedToBind != null)
     {
         OnFailedToBind(pNetworkManager);
     }
 }
Example #3
0
    //Functions
    #region Unity
    private void Awake()
    {
        if (ECSNetworkManager.IsInitialized)
        {
            Destroy(gameObject);
            return;
        }

        _instance    = this;
        _tmpMetadata = new BMSByte();
        DontDestroyOnLoad(gameObject);
    }