Inheritance: MonoBehaviour
 public AlienHero(string name,
                  int age, float height, float weight, int handCount,
                  int anotherAge, float anotherHeight, float anotherWeight, int anotherHandCount)
 {
     Name = "Unknown";
     One  = new AlienBody(age, height, weight, handCount);
     Two  = new AlienBody(anotherAge, anotherHeight, anotherWeight, anotherHandCount);
 }
示例#2
0
 public SuperAlienHero()
 {
     Name   = "Unknown";
     Merged = new AlienBody(0, 0, 0, 0);
 }
示例#3
0
 public AlienHero()
 {
     Name = "Unknown";
     One  = new AlienBody(0, 0, 0, 0);
     Two  = new AlienBody(0, 0, 0, 0);
 }