static void CreateIfNeeded() { if (instance == null) { GameObject obj = new GameObject(); obj.name = "AbsolutelyActiveCoroutine"; instance = obj.AddComponent <AbsolutelyActiveCoroutine>(); DontDestroyOnLoad(obj); } }
void Awake() { Run(); AbsolutelyActiveCoroutine.Subscribe(_firstSystemContext.DoInitRun()); }
public void Execute(SystemContext self, SystemContext next, SystemContextContainer container) { AbsolutelyActiveCoroutine.Subscribe(DoExecute(self, next, container)); }