/// <summary> /// creates the action /// </summary> /// <param name="pAction"></param> /// <returns></returns> public static CCActionEase actionWithAction(CCActionInterval pAction) { CCActionEase pRet = new CCActionEase(); if (pRet != null) { if (pRet.initWithAction(pAction)) { //pRet->autorelease(); } else { //CC_SAFE_RELEASE_NULL(pRet); } } return pRet; }
/// <summary> /// creates the action /// </summary> /// <param name="pAction"></param> /// <returns></returns> public static CCActionEase actionWithAction(CCActionInterval pAction) { CCActionEase pRet = new CCActionEase(); if (pRet != null) { if (pRet.initWithAction(pAction)) { //pRet->autorelease(); } else { //CC_SAFE_RELEASE_NULL(pRet); } } return(pRet); }