public override void Enter() { base.Enter(); var color = MtColorTo.Create(3, Color.blue); m_tfCube.RunAction(color); }
public static MtColorTo Create(float duration, float red, float green, float blue, float alpha) { MtColorTo colorTo = new MtColorTo(); if (colorTo.InitWithDuration(duration, red, green, blue, alpha)) { return(colorTo); } return(null); }
public override MtICloneable Clone() { return(MtColorTo.Create(m_duration, m_to.r, m_to.g, m_to.b, m_to.a)); }