Exemplo n.º 1
0
        void Initialization()
        {
            anim       = GetComponent <Animator>();
            rb         = GetComponent <Rigidbody>();
            mothership = GetComponent <Modular>();

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

            TargetRotation = transform.rotation;

            JumpInitialization();
        }