lordleeslr
Guest
Posts: 0
|
Post by lordleeslr on Jan 27, 2015 2:45:25 GMT
Ok so I have gone through the documentation and looked at the example scene and I can't seem to get a listener hooked up correctly. In the example scene the main camera has a listener for the player killable but none of the log messages get printed.
I can drag the main camera onto the player listener in the inspector and when I run the game the messages get printed however once the game starts running the inspector for the player no longer shows the main camera as being the listener even though log messages do get printed.
After saving the scene and reload it, then the messages no longer get printed anymore.
I'm not sure if I have something wrong or if the example scene is wrong not sure any help would be awesome, thanks.
|
|
|
Post by DarkTonic Dev on Jan 27, 2015 3:00:34 GMT
The Listener isn't actually hooked up in Example Scene 1. The Player prefab doesn't have a listener for its Killable. To confirm it's not hooked up, you can pause the game and look at the Listener field on the player's Killable (top section). It's empty. You can drag the camera into the Listener field to fix it.
I'll fix this for the next update.
|
|