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); }
public FastDelayableActionSystem(Folder sourceFolder, object osObj) { FastDelayableActionSystem delayableActionSystem = this; this.folder = sourceFolder; ((OS)osObj).UpdateSubscriptions += (Action <float>)(t => delayableActionSystem.Update(t, (object)(OS)osObj)); }
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); }