hi guys,
There are way to do some like this?
GetComponent(scriptname.Cointains(“fight”));
I use one script for following the player and use other differents scripts for fight.
and each Bot have a fight script different but the script of following the player is the same.
I want to have the name of the script that have fight in name that are attached to the bot.
Thanks.