// Use this for initialization
 void Start()
 {
     gm     = GameMaster.Instance;
     unitUi = transform.GetComponentInChildren <UnitUi>();
     unitUi.gameObject.SetActive(false);
     transform.GetChild(0).GetChild(3).localScale = Vector3.one * AutoAttackRange * 2;
 }
 // Use this for initialization
 private void Start()
 {
     Debug.Log("Starting UnitClick");
     canvas = FindObjectOfType <Canvas>();
     unit   = canvas.GetComponent <UnitUi>();
 }