예제 #1
0
    public override void Enter()
    {
        base.Enter();
        var scale = MtScaleTo.Create(1, new Vector3(1.5f, 1.5f, 1.5f));

        m_tfCube.RunAction(scale);
    }
예제 #2
0
    public override void Enter()
    {
        base.Enter();
        var scale1   = MtScaleTo.Create(0.5f, new Vector3(1.5f, 1.5f, 1.5f));
        var scale2   = MtScaleTo.Create(0.5f, Vector3.one);
        var sequence = MtSequence.Create(scale1, scale2);
        var rotate   = MtRotateBy.Create(1, new Vector3(0, 360, 0));
        var spawn    = MtSpawn.Create(sequence, rotate);

        m_tfCube.RunAction(spawn);
    }
예제 #3
0
파일: MtScale.cs 프로젝트: yjxyuna/MtTween
 public override MtICloneable Clone()
 {
     return(MtScaleTo.Create(m_duration, new Vector3(m_endScaleX, m_endScaleY, m_endScaleZ)));
 }