예제 #1
0
 public void SetupTransport()
 {
     transport = ScriptableObject.CreateInstance <Transport>();
     transport.SendToAllAction = SendToAllOthers;
     workflow           = ScriptableObject.CreateInstance <SupportWorkflow>();
     transport.Workflow = workflow;
 }
예제 #2
0
 public void SetupVoiceHandler()
 {
     go                = new GameObject();
     workflow          = ScriptableObject.CreateInstance <SupportWorkflow>();
     settings          = ScriptableObject.CreateInstance <SupportSettings>();
     workflow.Settings = settings;
     handler           = go.AddComponent <SupportHandler>();
     handler.Workflow  = workflow;
 }
예제 #3
0
 public void SetupTransport()
 {
     transport          = ScriptableObject.CreateInstance <SelfDataTransport>();
     workflow           = ScriptableObject.CreateInstance <SupportWorkflow>();
     transport.Workflow = workflow;
 }