示例#1
0
        private void Start()
        {
            playerController      = GetComponent <PlayerController>();
            full                  = groundPoundSlider.value;
            groundPoundSliderFull = true;

            SetDynamiteIcon(false);

            instance = this;
        }
示例#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;
        }