public override void Init(tso.simantics.VMContext context) { base.Init(context); //context.World.AddComponent(this.WorldUI); /** Aquarium, we will allow the load and main functions to run for this object **/ }
public override void Init(tso.simantics.VMContext context) { base.Init(context); var testa = 0; //also run the main function of all people because i'm a massochist //ExecuteEntryPoint(1, context); }
public void Update(tso.common.rendering.framework.model.UpdateState state) { foreach (var scene in Scenes) { scene.Update(state); } foreach (var scene in External) { scene.Update(state); } }
public override void Init(tso.simantics.VMContext context) { base.Init(context); //context.World.AddComponent(this.WorldUI); /** Aquarium, we will allow the load and main functions to run for this object **/ if (Object.OBJ.GUID == 0x98E0F8BD){ this.Thread.EnqueueAction(new tso.simantics.engine.VMQueuedAction { Callee = this, /** Main function **/ Routine = context.VM.Assemble(Object.Resource.Get<BHAV>(4124)) }); } }
public override void Update(tso.common.rendering.framework.model.UpdateState state) { }
public override void Update(tso.common.rendering.framework.model.UpdateState state) { base.Update(state); vm.Update(state.Time); }