/// <summary> /// 设置GameObject显示(SetActive(false)) /// </summary> /// <returns></returns> public ActionSequence Show() { nodes.Add(ActionNodeSetActive.Get(true)); return(this); }
/// <summary> /// 设置GameObject反显示隐藏(SetActive(!activeSelf)) /// </summary> /// <returns></returns> public ActionSequence ToggleActive() { nodes.Add(ActionNodeSetActive.Get(true, true)); return(this); }
/// <summary> /// 设置GameObject隐藏(SetActive) /// </summary> /// <returns></returns> public ActionSequence Hide() { nodes.Add(ActionNodeSetActive.Get(false)); return(this); }