Quantcast
Channel: Answers for "How to make the other gameObject carry out a function."
Browsing latest articles
Browse All 4 View Live

Answer by AyAMrau

You need to get the script (component) on the enemy that has the takeDamage function ([Check out the documentation here][1])...

View Article



Answer by AdamAndersson

Hello! If I understand you correctly you might try to get all the MonoBehaviour components of the gameObject and then use the name of the MonoBehaviour to determine which MonoBehaviour you want to...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images