Ejemplo n.º 1
0
        public string LoadFile(string name, FFilePath pathType)
        {
            mStateTimeEvent = new StateTimeEvent(UpdateTimeState);
            string tempPath = "." + ResConfig.BEHAVIORTREE;

            if (!name.EndsWith(tempPath))
            {
                name += tempPath;
            }

            //加载配置
            FSaveHandle  sd     = FSaveHandle.Create(name, pathType);
            SaveTreeFile stFree = new SaveTreeFile();

            return(stFree.typeName);
        }
Ejemplo n.º 2
0
 private void NewRoot()
 {
     mStateTimeEvent = new StateTimeEvent(UpdateTimeState);
     mCurFArpgData   = new FArpgNode(CallBackStateChange, this);
 }