public static CallFunc Create(Action <System.Object> callFunc, System.Object selectTarget) { CallFunc ret = new CallFunc(); if (ret != null && ret.InitWithFunction(callFunc, selectTarget)) { return(ret); } return(null); }
public static CallFunc Create(Action <UnityEngine.Transform> callFunc) { CallFunc ret = new CallFunc(); if (ret != null && ret.InitWithFunction(callFunc)) { return(ret); } return(null); }
public static CallFunc Create(Action callFunc) { CallFunc ret = new CallFunc(); if (ret != null && ret.InitWithFunction(callFunc)) { return(ret); } return(null); }
public override CCAction Clone() { CallFunc ret = new CallFunc(); if (m_callFunc != null) { ret.InitWithFunction(m_callFunc); } if (m_callFuncST != null) { ret.InitWithFunction(m_callFuncST, m_selectorTarget); } if (m_callFuncUT != null) { ret.InitWithFunction(m_callFuncUT); } return(ret); }