Posts

Showing posts with the label UnityEditor

Unity Prefabs (Unity 2018) - Overall Coverage

August 24, 2019 Unity Prefabs Youtube - Unity Prefabs - The Complete Animated Guide | Game Dev Classroom By: Lost Relic Games While this tutorial on Unity prefabs is slightly behind (the version they're using in the tutorial looks to be 2018.3.5) it still covers a lot of the fundamentals of using prefabs in Unity, as well as some of the pros and cons of using them and how to use them properly. It will still be important to follow this up with more recent Unity prefab information since some concepts (like prefab variants) may already outdate some of the information in this tutorial once I understand them better. The basic starting point is that a prefab is a container for a gameobject and all its children that you can package together into one nice, tidy, and reuseable object. You can then make several instances of this object from this one prefab. Editing Prefabs You can approach editing prefabs and their instances from multiple directions. You can edit the master

Unite Europe 2017 - Multi-scene editing in Unity for FAR: Lone Sails

March 15, 2019 Unite Europe 2017 Multi-scene editing in Unity for FAR: Lone Sails Youtube - Unite Europe 2017 - Multi-scene editing in Unity for FAR: Lone Sails By: Goran Saric I wanted to look into pushing the tower defense tutorial series I did from Brackeys into a more polished little game project, so one of the first upgrades I wanted to look into for the project was the suggestion about breaking up the scenes in a more efficient manner. This was mentioned as the best way to set up the overall project if you wanted to make it significantly larger but keep it very easy to build upon. This is because there are a lot of objects in a given level currently that will persist between every level and right now they are just copied into every single level. If you make an edit to any of these objects, they need copied into every other scene again. This can be minimized by using prefabs much more extensively, but having a scene solely for these objects keeps everything much cleaner

Unity Player Pref Editor

March 8, 2019 Unity Player Prefs Editor Script Editor Script Unity – Player Prefs Editor in Unity By: Romejanic As I was finishing my Unity tower defense tutorial, I wanted to look into deleting player pref values to do bug testing for the level unlocking system. When I searched how to do this, I came across this very helpful Unity editor script that gives a few very basic functionalities dealing with player prefs in Unity. This tool lets you set or get the values assigned to player pref variables you’ve created. This can be useful to double check exactly what a player pref is set at currently. It also has an option to delete the value assigned to a specific player pref, or just delete all player pref values. This gave me the exact option I needed, as well as giving a nice option for checking how the game works for a new player just starting the game.