bindui(gameobject){ var("@varname","Panel/Input"); inputs("",...); toggles("",...); sliders("",...); dropdowns("",...); onevent("button","eventtag","Panel/Button"); };
Inheritance: StorySystem.AbstractStoryCommand
        public override IStoryCommand Clone()
        {
            BindUiCommand cmd = new BindUiCommand();

            cmd.m_Obj = m_Obj.Clone();
            for (int i = 0; i < m_VarInfos.Count; ++i)
            {
                cmd.m_VarInfos.Add(new VarInfo(m_VarInfos[i]));
            }
            for (int i = 0; i < m_EventInfos.Count; ++i)
            {
                cmd.m_EventInfos.Add(new EventInfo(m_EventInfos[i]));
            }
            for (int i = 0; i < m_Inputs.Count; ++i)
            {
                cmd.m_Inputs.Add(m_Inputs[i].Clone());
            }
            for (int i = 0; i < m_Toggles.Count; ++i)
            {
                cmd.m_Toggles.Add(m_Toggles[i].Clone());
            }
            for (int i = 0; i < m_Sliders.Count; ++i)
            {
                cmd.m_Sliders.Add(m_Sliders[i].Clone());
            }
            for (int i = 0; i < m_DropDowns.Count; ++i)
            {
                cmd.m_DropDowns.Add(m_DropDowns[i].Clone());
            }
            return(cmd);
        }
 public override IStoryCommand Clone()
 {
     BindUiCommand cmd = new BindUiCommand();
     cmd.m_Obj = m_Obj.Clone();
     for (int i = 0; i < m_VarInfos.Count; ++i) {
         cmd.m_VarInfos.Add(new VarInfo(m_VarInfos[i]));
     }
     for (int i = 0; i < m_EventInfos.Count; ++i) {
         cmd.m_EventInfos.Add(new EventInfo(m_EventInfos[i]));
     }
     for (int i = 0; i < m_Inputs.Count; ++i) {
         cmd.m_Inputs.Add(m_Inputs[i].Clone());
     }
     for (int i = 0; i < m_Toggles.Count; ++i) {
         cmd.m_Toggles.Add(m_Toggles[i].Clone());
     }
     for (int i = 0; i < m_Sliders.Count; ++i) {
         cmd.m_Sliders.Add(m_Sliders[i].Clone());
     }
     for (int i = 0; i < m_DropDowns.Count; ++i) {
         cmd.m_DropDowns.Add(m_DropDowns[i].Clone());
     }
     return cmd;
 }