void Start() { healthmana = GetComponent <CharacterHealthMana> (); stats = GetComponent <CharacterStats> (); charEffects = GetComponent <CharacterEffects> (); move = GetComponent <CharacterMove> (); headTransform = transform.Find("CharacterHead"); handTransform = headTransform.Find("LeftSpell"); handParticles = handTransform.GetComponent <ParticleSystem> (); }
void Start() { healthScript = GetComponent<CharacterHealthMana> (); healthSlider = GameObject.Find ("MainCanvas").transform.Find("StatsPanel").Find("PlayerHealthBar").GetComponent<Slider> (); manaSlider = GameObject.Find ("MainCanvas").transform.Find("StatsPanel").Find("PlayerManaBar").GetComponent<Slider> (); }
void Start() { healthScript = GetComponent <CharacterHealthMana> (); healthSlider = GameObject.Find("MainCanvas").transform.Find("StatsPanel").Find("PlayerHealthBar").GetComponent <Slider> (); manaSlider = GameObject.Find("MainCanvas").transform.Find("StatsPanel").Find("PlayerManaBar").GetComponent <Slider> (); }
void Start() { healthmana = GetComponent<CharacterHealthMana> (); }
void Start() { healthmana = GetComponent<CharacterHealthMana> (); stats = GetComponent<CharacterStats> (); charEffects = GetComponent<CharacterEffects> (); move = GetComponent<CharacterMove> (); headTransform = transform.Find ("CharacterHead"); handTransform = headTransform.Find ("LeftSpell"); handParticles = handTransform.GetComponent<ParticleSystem> (); }
void Start() { healthmana = GetComponent <CharacterHealthMana> (); }