public BirdBody(Transform temp, ControllerInput input, BirdControl birdControl) { this.input = input; this.birdControl = birdControl; body = BirdBone.CreateBirdBone(temp); }
public BirdTail(Transform firstTail, ControllerInput input, BirdControl birdControl) { this.input = input; this.birdControl = birdControl; tail_1 = BirdBone.CreateBirdBone(firstTail); tail_2 = BirdBone.CreateBirdBone(firstTail.FindInChildren("Tail_2")); tail_3 = BirdBone.CreateBirdBone(firstTail.FindInChildren("Tail_3")); }
public BirdHead(Transform neckTransfrom, ControllerInput input, BirdControl birdControl) { this.input = input; this.birdControl = birdControl; neck = BirdBone.CreateBirdBone(neckTransfrom); head = BirdBone.CreateBirdBone(neckTransfrom.FindInChildren("Head")); beack = BirdBone.CreateBirdBone(neckTransfrom.FindInChildren("Head_Beak_Lower")); //headFeather = BirdBone.CreateBirdBone(neckTransfrom.FindInChildren("Head_Feather")); }
public BirdLeg(Transform feetTransform, string suffix, ControllerInput input) { if (suffix == "_L") { isLeft = true; //sign = -1f; } //this.input = input; leg_feet = BirdBone.CreateBirdBone(feetTransform); leg_heel = BirdBone.CreateBirdBone(feetTransform.FindInChildren("Leg_Heel" + suffix)); leg_lower = BirdBone.CreateBirdBone(feetTransform.FindInChildren("Leg_Lower" + suffix)); leg_upper = BirdBone.CreateBirdBone(feetTransform.FindInChildren("Leg_Upper" + suffix)); hip = BirdBone.CreateBirdBone(feetTransform.FindInChildren("Hip" + suffix)); }
public BirdWing(Transform shoulderTransform, string suffix, ControllerInput input, BirdControl birdControl) { this.input = input; this.birdControl = birdControl; if (suffix == "_L") sign = -1f; shoulder = BirdBone.CreateBirdBone(shoulderTransform); wing_1 = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_1" + suffix)); //wing_1_f = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_F_1" + suffix)); wing_2 = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_2" + suffix)); wing_2_f = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_F_2" + suffix)); wing_3 = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_3" + suffix)); //wing_3_f = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_F_3" + suffix)); }
public BirdWing(Transform shoulderTransform, string suffix, ControllerInput input, BirdControl birdControl) { this.input = input; this.birdControl = birdControl; if (suffix == "_L") { sign = -1f; } shoulder = BirdBone.CreateBirdBone(shoulderTransform); wing_1 = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_1" + suffix)); //wing_1_f = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_F_1" + suffix)); wing_2 = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_2" + suffix)); wing_2_f = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_F_2" + suffix)); wing_3 = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_3" + suffix)); //wing_3_f = BirdBone.CreateBirdBone(shoulderTransform.FindInChildren("Wing_F_3" + suffix)); }