Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        public FsmManager()
        {
            onlyInstance = this;

            fsms = new List<BaseFsm>();
        }