|
Post by Speedrun Labs on Jul 25, 2014 7:21:00 GMT
So two days ago I emailed you because I thought the "despawn if not visible" feature in Killable wasnt working correctly. Then you pointed out that if you can see things in the Scene view then the object counts as visible. I find that frustrating as hell! lol. After some digging I found this extension: wiki.unity3d.com/index.php?title=IsVisibleFromWould that be a good thing to implement in CGK instead of using Unity's misleading method?
|
|
DarkTonic Dev
Administrator
Posts: 4,339
Posts: 4,339
Member is Online
|
Post by DarkTonic Dev on Jul 25, 2014 23:03:53 GMT
That is cool for sure but unfortunately what we are using is event-driven code. Meaning Unity calls OnBecameVisible and the opposite event on the Game Object when it becomes visible or invisible according to either view. So we can't really modify Unity itself to use these. And then, if we actually added this code into our OnBecameVisible methods, it would cause performance drops unfortunately. I think you will just need to get used to zooming in on the Scene before hitting play and/or using Maximize on Play. I use the former religiously.
|
|