Beispiel #1
0
 void Start()
 {
     _target          = cam.GetComponent <alTarget>();
     _targetText.text = _targetStr;
     TargetStatus     = GameObject.Find("TargetStatus");
     TargetStatus.SetActive(TargetStatusActive);
 }
Beispiel #2
0
    //public float currentDamage = Camera.main.GetComponent<alTarget>().activeObject.gameObject.GetComponent<EnemyCombatScript>().Damage;

    void Start()
    {
        _target = cam.GetComponent <alTarget>();
    }