Question by
gambledpaintbrush · Jun 02, 2017 at 06:11 AM ·
instanceevent triggering
How do I specify an instance as a listener to an event trigger component?
My player prefab is instantiated into the scene. How do I subscribe it to an event trigger component without manually attaching it to it?
Comment
Your answer
Follow this Question
Related Questions
Several questions about Class in Unity 0 Answers
weird Object reference not set to an instance of an object error, help 2 Answers
(C# - working)(dll - not working) Object reference not set to an instance of an object 1 Answer
Disable current drag of UI.Slider 2 Answers
Non-interactive button still responds to event triggers 1 Answer