Exemple #1
0
 void SitOnChair( )
 {
     this.chair = workspace.chair;
     chair.NeedsPullingBack( );
     agent.enabled = false;
     agent.SetAgentRotation(false);
     transform.position = workspace.GetSeatingPosition();
     transform.LookAt(new Vector3(workspace.computer.transform.position.x, 0, workspace.computer.transform.position.z));
     anim.SetTrigger("sit");
     workMode = WorkMode.Working;
 }