Answer by IMrYoUSeFI
I know this method, It didnt work the other script cant find enemy script because the entire objet is disable, I am thinking about disable the enemy script and enable it And in other case this method...
View ArticleAnswer by xKroniK13x
As Slobdell said, each script will have another instance. This is a way to disable/enable all of the objects... function DisableObjects() { var objectsDisabling : GameObject[]; objectsDisabling =...
View ArticleAnswer by Slobdell
Even though it's the same script there is going to be a seperate instance for each gameobject it's attached to. So then you can just get the script from each individual enemy and change them...
View ArticleAnswer by IMrYoUSeFI
I know this method, It didnt work the other script cant find enemy script because the entire objet is disable, I am thinking about disable the enemy script and enable it And in other case this method...
View ArticleAnswer by xKroniK13x
As Slobdell said, each script will have another instance. This is a way to disable/enable all of the objects... function DisableObjects() { var objectsDisabling : GameObject[]; objectsDisabling =...
View ArticleAnswer by Slobdell
Even though it's the same script there is going to be a seperate instance for each gameobject it's attached to. So then you can just get the script from each individual enemy and change them...
View Article