Пример #1
0
 public void StartMove(PlayerTrace t)
 {
     trace        = t;
     frameCounter = 0;
     isMoving     = true;
     FixedUpdate();
     gameObject.SetActive(true);
     animator.SetBool("Walk", true);
 }
Пример #2
0
 public void StartRecord(PlayerTrace t)
 {
     trace       = t;
     isRecording = true;
     _controller = GetComponent <PlayerControl>();
 }