Ejemplo n.º 1
0
        private void Start()
        {
            playerController      = GetComponent <PlayerController>();
            full                  = groundPoundSlider.value;
            groundPoundSliderFull = true;

            SetDynamiteIcon(false);

            instance = this;
        }
Ejemplo n.º 2
0
        void Start()
        {
            animationController = GetComponent <AnimationController>();
            collisionController = GetComponent <PlayerCollisionController>();
            particleController  = GetComponent <PlayerParticleController>();
            weaponsController   = GetComponent <PlayerWeaponsController>();
            uiController        = GetComponent <PlayerUIController>();
            rb = GetComponent <Rigidbody>();

            animationController.ChangeAnimation(Constants.ANIMATION_IDLE);

            originalMovementSpeed = movementSpeed;
        }