public override void OnFrame() { if (act == null) { Util.OutPutToScreenEX(); act = new Actor(); meshRenderComponent = new MeshRenderComponent(); meshRenderComponent.SetMeshID("cup.obj"); act.AddComponent(meshRenderComponent); ActorMgr.AddActor(act); } }
static extern void ICall_ActorMgr_AddActor(Actor act);
public static void AddActor(Actor act) { ICall_ActorMgr_AddActor(act); }
static extern void ICall_Actor_Bind(Actor self);
static extern void ICall_Actor_AddComponent(Actor self, Component com);