/** creates an initializes the action with the property name (key), and the from and to parameters. */ public static CCActionTween create(float aDuration, string key, float from, float to, CCActionTweenDelegate d) { CCActionTween pRet = new CCActionTween(d); pRet.initWithDuration(aDuration, key, from, to); return(pRet); }
public static CCActionTween actionWithDuration(float aDuration, string key, float from, float to, CCActionTweenDelegate d) { return(CCActionTween.create(aDuration, key, from, to, d)); }
public override CCFiniteTimeAction reverse() { return(CCActionTween.create(m_fDuration, m_strKey, m_fTo, m_fFrom, m_pDelegate)); }