hi,
i want to activate a script of my object on the trigger.
how i do it?
is possible with the ActivateTrigger script?
hi,
i want to activate a script of my object on the trigger.
how i do it?
is possible with the ActivateTrigger script?
you can use Add component & adds the script to the object or via send message to run a script.
for adding component you simply use :
gameObject.AddComponent(scriptName);