예제 #1
0
파일: Hero.cs 프로젝트: danniac12/Taller-05
 /// <summary>
 /// contamos un tiempo
 /// </summary>
 public void Update()
 {
     time += Time.fixedDeltaTime;
     movement.Move();
     look.Arround();
     hitPoints.text = hp.ToString();
 }
예제 #2
0
파일: Hero.cs 프로젝트: JsebasU/Taller-4
 /// <summary>
 /// contamos un tiempo para desaparicion de hub
 /// </summary>
 public void Update()
 {
     time += Time.fixedDeltaTime;
     movement.Move();
     look.Arround();
 }
예제 #3
0
 /// <summary>
 /// llama a los constructores en las clases de Movement y Look
 /// </summary>
 private void Update()
 {
     movement.Move();
     look.Arround();
 }