A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Thanks for the replies guys. First I tried playing with the public static method but ran it to trouble when trying to assign the passed in...
Hoping there's an obvious solution to this problem. Ok so I have a Build class that's responsible for building objects in game. One thing that...
Great, will try that out. I have read/seen a lot of material which pointed to using singletons with DontDestroyOnLoad. What you suggest sounds...
Wanted to get some thoughts on this one. I'm initializing a bunch of different manager (e.g, GameManager, AudioManager) classes in scene 0 of my...
Ok so I've gone and tried the flat plane idea, thanks Mauri & kdgalla. Getting some decent results so far, which I'm sure will only improve as I...
Wow, this looks to have solved it. Big thanks! I have used additive shaders for glowing sparks in particles before but never for a simple...
Thanks for the info. Indeed, using a simple point light was my initial approach and it was looking good. I decided to go the baked route instead...
I'm happy to use whatever the best practice is for a case like this. The reason I mentioned Fade is because Fade allows you to make an object...
I'm doing some work on lighting for a mobile game. Downloaded the post processing stack but forgot that the effects are applied to all objects as...
Hi folks. Working with a very simple scene, which involves some explosives on the floor that the player has to avoid. I want to mildly light these...
Excellent, thanks for the info. Will watch those also.
Big thanks guys. Going to do some work in the code to address singleton lifetimes. Good to know that what I should be doing is aiming to keep the...
I've found many posts relating to singletons created using an "instance" of a class which lose object references, but haven't managed to find one...
Great to see an example like that, thanks PraetorBlue!
Thanks guys. So would the optimal base approach be to use a property if it's ONLY the value I want to update with no additional logic attached. If...
I'm working on a tower defense game at the moment and have realized that I'm not really following any standard approach when it comes to updating...
Creating modular and readable code is something I'm striving for so it's great to see examples of scenarios where my proposed approach would...
I've read some posts which mention using a single class which holds all delegates and events, which other classes can then subscribe methods to,...
Makes perfect sense, thank you kindly.
Thanks for the feedback. I hadn't used TryGetComponent until now, will keep that one in mind. Everything above makes sense, I'm still just trying...