Ejemplo n.º 1
0
 public void load(GameObject pntGo_)
 {
     m_modelItem              = new AuxDynModelDynTex();
     m_modelItem.pntGo        = pntGo_;
     m_modelItem.modelResPath = string.Format("{0}{1}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathModel], "Scene/yun_zhanchang.prefab");
     m_modelItem.syncUpdateModel();
 }
Ejemplo n.º 2
0
 override public void dispose()
 {
     if (m_modelItem != null)
     {
         m_modelItem.dispose();
         m_modelItem = null;
     }
 }