Example #1
0
 // Use this for initialization
 void Start()
 {
     m_wandHealth = GameObject.Find("Player").GetComponentInChildren <WandHealth>();
     m_attack     = m_wandHealth.GetComponentInParent <Attack>();
     brewCanvas   = GetComponent <Canvas>();
 }