Example #1
0
    protected GameObject AddChild(string goName, string bindParentName, bool isInstance)
    {
        GameObject parent = Find(bindParentName);
        GameObject clone  = Find(goName);

        return(UIHelper.AddChildGameObject(parent, clone, isInstance));
    }
Example #2
0
    protected GameObject AddChild(GameObject template, string bindParentName, bool isInstance)
    {
        GameObject parent = Find(bindParentName);

        return(UIHelper.AddChildGameObject(parent, template, isInstance));
    }
Example #3
0
    //add child

    protected GameObject AddChild(GameObject parent, GameObject template, bool isInstance)
    {
        return(UIHelper.AddChildGameObject(parent, template, isInstance));
    }