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