예제 #1
0
    public override void Enter()
    {
        base.Enter();

        var move     = MtMoveBy.Create(1, new Vector3(3, 0, 0));
        var easeIn   = MtEaseExponentialIn.Create(move);
        var moveBack = MtMoveBy.Create(1, new Vector3(-3, 0, 0));
        var easeOut  = MtEaseExponentialOut.Create(moveBack);
        var sequence = MtSequence.Create(easeIn, easeOut);

        m_tfCube.RunAction(sequence);
    }
예제 #2
0
 public override MtAction Reverse()
 {
     return(MtEaseExponentialOut.Create(m_inner.Reverse() as MtActionInterval));
 }