示例#1
0
    public BirdBody(Transform temp, ControllerInput input, BirdControl birdControl)
    {
        this.input       = input;
        this.birdControl = birdControl;

        body = BirdBone.CreateBirdBone(temp);
    }
示例#2
0
	public BirdBody(Transform temp, ControllerInput input, BirdControl birdControl)
	{
		this.input = input;
		this.birdControl = birdControl;

		body = BirdBone.CreateBirdBone(temp);
	}
示例#3
0
    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"));
    }
示例#4
0
	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"));

	}
示例#5
0
    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"));
    }
示例#6
0
	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"));

	}
示例#7
0
    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));
    }
示例#8
0
	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));
	}
示例#9
0
	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));


	}
示例#10
0
    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));
    }