void Start() { playerScale = transform.localScale; referencer = PlayerReferencer.singleton; playerData = referencer.playerData; moveSpeed = dashing ? dashSpeed : normalSpeed; FootStepSource.volume = 0f; StartCoroutine(UnscaledUpdate(Time.timeScale)); }
private void Start() { referencer = PlayerReferencer.singleton; playerTransform = referencer.playerMovement.transform; anim = GetComponent <Animator>(); Health = MaxHealth; audioSource = GetComponent <AudioSource>(); healthBarSlider.maxValue = MaxHealth; healthBarSlider.value = MaxHealth; }
private void Start() { referencer = PlayerReferencer.singleton; weaponSys = referencer.weaponSystem; }
private void Start() { invSys = InventorySystem.singleton; referencer = PlayerReferencer.singleton; intSys = InteractionSystem.singleton; }
private void Start() { referencer = PlayerReferencer.singleton; StartCoroutine(TutorialActivation()); }