Exemple #1
0
        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);
            }
        }
Exemple #2
0
 static extern void ICall_ActorMgr_AddActor(Actor act);
Exemple #3
0
 public static void AddActor(Actor act)
 {
     ICall_ActorMgr_AddActor(act);
 }
Exemple #4
0
 static extern void ICall_Actor_Bind(Actor self);
Exemple #5
0
 static extern void ICall_Actor_AddComponent(Actor self, Component com);