Quantcast
Channel: Answers for "When is Awake called on an inactive gameobject"
Browsing all 5 articles
Browse latest View live

Answer by cmdeviant

Let's make a small experiment. Create empty scene and add two game objects to it with names "ObjectA" and "ObjectB". Then add appropriate scripts to them with the same names. ### ObjectA.cs: public...

View Article



Answer by RDeluxe

This bold part is actually not clear, and here is a clarification : http://forum.unity3d.com/threads/unityevent-disabled-objects-awake-failure.267241/ As Tim C says in this thread : "If a GameObject is...

View Article

Answer by cmdeviant

Let's make a small experiment. Create empty scene and add two game objects to it with names "ObjectA" and "ObjectB". Then add appropriate scripts to them with the same names. ### ObjectA.cs: public...

View Article

Answer by RDeluxe

This bold part is actually not clear, and here is a clarification : http://forum.unity3d.com/threads/unityevent-disabled-objects-awake-failure.267241/ As Tim C says in this thread : "If a GameObject is...

View Article

Answer by mathieso

Something that seems to work for me. Useful when I have GameObjects that are inactive when the game starts, but I still want to be able to call methods scripts attached to those GameObjects. Create a...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images