void Start()
 {
     anim          = gameObject.GetComponent <Animator>();
     heroEquipment = gameObject.GetComponent <PlayerEquipment>();
     heroCooldowns = gameObject.GetComponent <PlayerCooldowns>();
     heroLight     = gameObject.GetComponent <PlayerLight>();
     UICD          = GameObject.Find("Health bar").GetComponent <HUDCooldowns>();
     playersLight  = gameObject.GetComponentInChildren <Light>();
     audioPlayer   = gameObject.GetComponent <AudioSource>();
     chained       = false;
     shoot         = false;
     shootTimer    = 0;
 }
 void Start()
 {
     earthtrailtime       = 0;
     anim                 = gameObject.GetComponent <Animator>();
     controller           = gameObject.GetComponent <CharacterController>();
     heroEquipment        = gameObject.GetComponent <PlayerEquipment>();
     heroLight            = gameObject.GetComponent <PlayerLight>();
     heroCooldowns        = gameObject.GetComponent <PlayerCooldowns>();
     trailBlazerDropTimer = 0.0f;
     UICD                 = GameObject.Find("Health bar").GetComponent <HUDCooldowns>();
     aPlayer              = gameObject.GetComponent <AudioSource>();
     once                 = false;
     theoptions           = GameObject.Find("TheOptions").GetComponent <Options>();
     move                 = GetComponent <PlayerMovement>();
 }
 void Start()
 {
     UICD          = GameObject.Find("Health bar").GetComponent <HUDCooldowns>();
     heroCooldowns = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerCooldowns>();
 }