Наследование: MonoBehaviour
Пример #1
0
 public void SetAttribute(float speed, string name, int force, int hp)
 {
     this.speed      = speed;
     this.name       = name;
     this.force      = force;
     this.hp         = hp;
     movementManager = new MovementScripts();
 }
Пример #2
0
 public Character(float speed, string name, int force, int hp)
 {
     this.speed      = speed;
     this.name       = name;
     this.force      = force;
     this.hp         = hp;
     movementManager = new MovementScripts();
 }