示例#1
0
 public override void loadInit()
 {
     base.loadInit();
     this.folder         = this.comp.files.root.searchForFolder("runtime");
     this.DelayedActions = new FastDelayableActionSystem(this.folder, (object)this.os);
     this.DelayedActions.DeserializeActions(this.folder.files);
 }
示例#2
0
        public FastDelayableActionSystem(Folder sourceFolder, object osObj)
        {
            FastDelayableActionSystem delayableActionSystem = this;

            this.folder = sourceFolder;
            ((OS)osObj).UpdateSubscriptions += (Action <float>)(t => delayableActionSystem.Update(t, (object)(OS)osObj));
        }
示例#3
0
 public override void initFiles()
 {
     base.initFiles();
     this.folder = this.comp.files.root.searchForFolder("runtime");
     if (this.folder == null)
     {
         this.folder = new Folder("runtime");
         this.comp.files.root.folders.Add(this.folder);
     }
     this.DelayedActions = new FastDelayableActionSystem(this.folder, (object)this.os);
 }