Beispiel #1
0
    public static ExlainController Create(GameObject parent)
    {
        GameObject obj = ResourceManager.GetInstance().GetPrefab(GUI_NAME);

        obj = GameObject.Instantiate(obj);

        obj.transform.position = parent.transform.position;

        ExlainController ret = obj.GetComponent <ExlainController>();

        return(ret);
    }
Beispiel #2
0
 protected void OnClickItem(GameObject go)
 {
     ExlainController.Create(gameObject);
 }