Esempio n. 1
0
        public Vector3 outlet_vector   = Vector3.forward;               // 제네레이터에서 튀어나올 때의 속도.


        // ================================================================ //

        // 생성합니다.
        public override void            create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
        {
            base.create(behavior, desc_base);

            this.motion_speed.current = 0.0f;
            this.motion_speed.goal    = 0.0f;

            this.animator = this.behavior.gameObject.GetComponent <Animator>();

            this.jump            = new ipModule.Jump();
            this.jump.gravity   *= 3.0f;
            this.jump.bounciness = new Vector3(1.0f, -0.4f, 1.0f);
        }
Esempio n. 2
0
	public Vector3		outlet_vector      = Vector3.forward;	// 제네레이터에서 튀어나올 때의 속도.


	// ================================================================ //

	// 생성합니다.
	public override void		create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
	{
		base.create(behavior, desc_base);

		this.motion_speed.current = 0.0f;
		this.motion_speed.goal    = 0.0f;

		this.animator = this.behavior.gameObject.GetComponent<Animator>();

		this.jump = new ipModule.Jump();
		this.jump.gravity *= 3.0f;
		this.jump.bounciness = new Vector3(1.0f, -0.4f, 1.0f);
	}