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