Exemplo n.º 1
0
 /// <summary>
 /// unity method to start the server as soon as this behaviour is created
 /// </summary>
 void Start()
 {
     Setup();
     FlowActions.RegisterOnStartedCallback(StartServer);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Connects the client when this behavriour is initialized
 /// </summary>
 void Start()
 {
     Setup();
     FlowActions.RegisterOnStartedCallback(Connect);
 }