public ActionExcute StartAction(ActionObject actObj, ICustomObject o) { ActionExcute ac = new ActionExcute(); ac.StartAction(o, actObj); mListExcute.Add(ac); return(ac); }
public static ActionExcute Create(ActionTable table, GfxObject o, HitData hitdata = null) { GameObject obj = new GameObject("ActionExcute"); ActionExcute ac = obj.AddComponent <ActionExcute>(); ac.m_Table = table; ac.m_HitData = hitdata; ac.StartAction(o); return(ac); }