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

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