public static PartOneController Create() { GameObject obj = ResourceManager.GetInstance().GetPrefab(GUI_NAME); obj = GameObject.Instantiate(obj); PartOneController ret = obj.GetComponent <PartOneController>(); return(ret); }
protected void OnClickItem(GameObject go) { PartOneController.Create(); }