Static Variables and Methods – Unity

So what does this word “static” do to variables and methods? Well a couple of things. static variables and methods that are public are accessible from anywhere without having to first reference or instantiate the class that they are in. Note though that if they are private, they can not. They make variables class variables, … Read more

Update v FixedUpdate – Unity

Thank you Unity Answers for giving me the low down on this one. Read the full thread HERE eric5h5 gives us a quick answer Update runs once per frame. FixedUpdate can run once, zero, or several times per frame, depending on how many physics frames per second are set in the time settings, and how … Read more

Cross Platform Input Manager – Unity

To use the cross platform input manager you need to make sure you have the Standard Assets Package included in your Unity project. To import it, use these instructions https://docs.unity3d.com/560/Documentation/Manual/AssetPackages.html Ensure that CrossPlatformInput is selected in both the “Editor” and “Standard Assets” folders. Open up the Project Setting > Inputs to define all of the … Read more