Exemple #1
0
    public static CCCatchAction GetSSAction(GameObject target)
    {
        CCCatchAction action = ScriptableObject.CreateInstance <CCCatchAction> ();

        action.target = target;
        return(action);
    }
Exemple #2
0
 public void CatchRunAction(GameObject gameObject, GameObject target)
 {
     this.RunAction(gameObject, CCCatchAction.GetSSAction(target), this);
 }