Beispiel #1
0
    public void ResgisterDelegate(string methodName, OnClientNotify method)
    {
        ServerVerifyClientNotification alwaysTrue = (values) => { return(true); };

        ResgisterDelegate(methodName, method, alwaysTrue);
    }
Beispiel #2
0
 /**
  * To be called at class initialization, same across server and all clients
  */
 public void ResgisterDelegate(string methodName, OnClientNotify method, ServerVerifyClientNotification verification)
 {
     delegates.Add(methodName, method);
     verifications.Add(methodName, verification);
     //print("resgistering delegate: " + methodName + " " + method + " " + delegates.Count);
 }