void Start()
 {
     playerScale           = transform.localScale;
     referencer            = PlayerReferencer.singleton;
     playerData            = referencer.playerData;
     moveSpeed             = dashing ? dashSpeed : normalSpeed;
     FootStepSource.volume = 0f;
     StartCoroutine(UnscaledUpdate(Time.timeScale));
 }
Esempio n. 2
0
 private void Start()
 {
     referencer               = PlayerReferencer.singleton;
     playerTransform          = referencer.playerMovement.transform;
     anim                     = GetComponent <Animator>();
     Health                   = MaxHealth;
     audioSource              = GetComponent <AudioSource>();
     healthBarSlider.maxValue = MaxHealth;
     healthBarSlider.value    = MaxHealth;
 }
Esempio n. 3
0
 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());
 }