Exemplo n.º 1
0
 public override void Restore()
 {
     var t = targetMoveAlongPath;
     targetMoveAlongPath = _originalTarget;
     base.Restore();
     targetMoveAlongPath = t;
 }
Exemplo n.º 2
0
 public override void Reset()
 {
     base.Reset();
     targetMoveAlongPath = GetComponent<MoveAlongPath>();
     from = current;
     to = current;
 }
Exemplo n.º 3
0
 public override void Record()
 {
     _originalTarget = targetMoveAlongPath;
     base.Record();
 }