Beispiel #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.CompareTag("Player") && other.GetComponentInChildren <vThrowManager>() != null)
     {
         throwManager = other.GetComponentInChildren <vThrowManager>();
     }
 }
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.tag.Equals("Player") && other.GetComponent <vThrowManager>() != null)
     {
         throwManager = other.GetComponent <vThrowManager>();
     }
 }
Beispiel #3
0
 internal virtual void UpdateCount(vThrowManager throwManager)
 {
     currentThrowCount.text = throwManager.currentThrowObject.ToString();
     maxThrowCount.text     = throwManager.maxThrowObjects.ToString();
 }