Пример #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);
            }
        }
Пример #2
0
 static extern void ICall_MeshRenderComponent_SetMeshID(MeshRenderComponent self,string id);
Пример #3
0
 static extern void ICall_MeshRenderComponent_Bind(MeshRenderComponent self);