コード例 #1
0
 public void LoadObject()
 {
     ObjectToFill              = UIProperties.ActiveObject.GetComponent <standardDataHelper>();
     standardObjectDatas       = ObjectToFill.getChilderen();
     currentStandardDataObject = 0;
     StartCoroutine(DownloadMenuItems(standardObjectDatas[currentStandardDataObject].type));
 }
コード例 #2
0
 public void EmptyMenu()
 {
     currentPageNumber = 0;
     for (var j = menuItems.Count; j > 0; j--)
     {
         Destroy(menuItems[j - 1]);
         menuItems.Remove(menuItems[j - 1]);
     }
     ObjectToFill = null;
     UIProperties.ActiveObject = null;
     gameObject.SetActive(false);
 }