Ejemplo n.º 1
0
 public void init()
 {
     mUIRoot = new txUIObject();
     mUIRoot.init(null, UnityUtility.getGameObject(null, "UI Root"), null);
     if (mUIRoot.mObject == null)
     {
         UnityUtility.logError("can not find ui root! please add it to scene!");
         return;
     }
 }