public override void OnEnter() { base.OnEnter(); //CCDirector::sharedDirector()->setProjection(CCDirectorProjection2D); CCActionInterval effect = new CCLiquid (1, 20, new CCGridSize(32, 24), 2); CCActionInterval stopEffect = (CCActionInterval)(CCSequence.FromActions( effect, new CCDelayTime (2), new CCStopGrid() // [DelayTime::actionWithDuration:2], // [[effect copy] autorelease], )); CCNode bg = GetChildByTag(EffectAdvanceScene.kTagBackground); bg.RunAction(stopEffect); }
public CCLiquid (CCLiquid liquid) { InitWithWaves(liquid.m_nWaves, liquid.m_fAmplitude, liquid.m_sGridSize, liquid.m_fDuration); }
public CCLiquid(CCLiquid liquid) { InitWithDuratuon(liquid.m_fDuration, liquid.m_sGridSize, liquid.m_nWaves, liquid.m_fAmplitude); }
public CCLiquid(CCLiquid liquid) { InitWithWaves(liquid.m_nWaves, liquid.m_fAmplitude, liquid.m_sGridSize, liquid.m_fDuration); }