Beispiel #1
0
 public Robot(float maxHealth, float moveSpeed, float armor, Transform transform, Animator animator,
              CharacterController characterController, Transform gunTransform) : base(maxHealth, armor, moveSpeed)
 {
     UnityRobotData = new Player.UnityData();
     UnityRobotData.Initialize(transform, animator, characterController, gunTransform);
 }
Beispiel #2
0
 public Robot(float maxHealth, float moveSpeed, float armor) : base(maxHealth, armor, moveSpeed)
 {
     UnityRobotData = new Player.UnityData();
 }
Beispiel #3
0
 public Human(float maxHealth, float moveSpeed, float armor) : base(maxHealth, moveSpeed, armor)
 {
     UnityHumanData = new Player.UnityData();
 }