private void Init() { Debug.Log("Initializing Core Engine"); fsmManager = new FsmManager(); systems.Add(fsmManager); new PersistentFsm(); System.Runtime.Remoting.ObjectHandle obj = System.Activator.CreateInstance(typeof(Core).Assembly.FullName, MainFsm); obj.Unwrap(); }
public FsmManager() { onlyInstance = this; fsms = new List<BaseFsm>(); }