Exemplo n.º 1
0
        static public ScaleTo Create(float duration_, float scale_)
        {
            ScaleTo action = new ScaleTo();

            action.InitWithScale(duration_, scale_);
            return(action);
        }
Exemplo n.º 2
0
        static public ScaleTo Create2(float duration_, Vector2 scale_)
        {
            ScaleTo action = new ScaleTo();

            action.m_use2d = true;
            action.InitWithScale(duration_, scale_);

            return(action);
        }