Exemplo n.º 1
0
 private void OnEnable()
 {
     hc = GetComponent <HeroController>();
     he = GetComponent <HeroComponents>();
     br = GetComponent <BulletRaycast>();
 }
Exemplo n.º 2
0
 private void OnEnable()
 {
     itemsList = new List <Gun>();
     he        = GetComponent <HeroComponents>();
     we        = GetComponent <HeroWeapon>();
 }