V
V
Valera Sdobnikov2017-05-12 09:33:30
C++ / C#
Valera Sdobnikov, 2017-05-12 09:33:30

Unity3D how to enable script on trigger entry?

You need to get the script on Camera.main called NoiseAndGrain and enable it. How can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2017-05-12
@dad_in_the_building

The script is the same component. Accordingly Camera.main, find the camera - and then the desired component -Camera.main.GetComponent<UourAwesomeScript>();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question