Example #1
0
    public override void Enter()
    {
        base.Enter();
        m_tfCube.position = new Vector3(-5.31f, 1.49f, 0);
        var berzier = MtBezierTo.Create(1, new Vector3(-1.98f, 7f, 0), new Vector3(6.58f, 4f, 0), new Vector3(1.26f, 1.49f, 0));

        m_tfCube.RunAction(berzier);
    }
Example #2
0
 public override MtICloneable Clone()
 {
     return(MtBezierTo.Create(m_duration, m_controlPoint_1, m_controlPoint_2, m_endPosition));
 }