Okay i thing this is relative simple but how can i do this:
On the first script:
Secondscript.Examplevoid(theTagOfTheObjectThatHasTheFirstScript);
On the second script:
public void Examplevoid()
{
if (theTagOfTheObjectThatHasTheFirstScript == b)
{
do sth with it
}
}
I just want to call the other objects void and send my tag over so that the other obejct can than do stuff with it
Pls somebody help thx