예제 #1
0
        void Initialization()
        {
            anim       = GetComponent <Animator>();
            rb         = GetComponent <Rigidbody>();
            mothership = GetComponent <Modular>();

            // GlobalUtils.FillAllBoxes(Hitboxes, out hitboxes, out hurtboxes);
            // hitboxes = Globals.FillHitboxes(Hitboxes);
        }
예제 #2
0
        void Initialization()
        {
            anim       = GetComponent <Animator>();
            rb         = GetComponent <Rigidbody>();
            mothership = GetComponent <Modular>();
            fight      = GetComponent <Fight>();

            TargetRotation = transform.rotation;

            JumpInitialization();
        }