You may want to give the designers a way to add or modify the assets that are manually integrated within the code.
#Custom maid 3d save game editor code#
You might want to execute a part of the code without having to run a scene every few minutes.As the size and complexity of your project increases, you would want a way to manage the huge amount of information that’s displayed in the Inspector.There are many advantages to knowing the basics of editor scripting: Simply put, you can write an Editor Script that uses methods from the UnityEditor namespace to create or modify custom functionalities to the Unity editor according to your requirements. With the Unity Editor Scripting API, users can extend the capabilities of the editor by building tools and utilities as per their requirements. It’s for these specific reasons, along with many others, that Unity comes with an Editor Scripting API. Something as simple as calling PlayerPrefs.DeleteAll() requires you to run the scene, which could take a couple of seconds when you’re working on a large scene that takes a while to load all the assets.Įven when you look for a 3rd-party tool in the Asset Store, either you can’t find something that’s within your budget, or the solution for your particular use case doesn’t exist. If you have been working with Unity for any amount of time or have worked on large Unity projects, you’ve no doubt realized how cumbersome it is when you have to perform repetitive tasks. It’s welcoming enough that students and indie game developers use it for learning the basics and working on small projects, yet it’s packed with enough features that full-fledged game studios use it too. Unity is an amazing game engine that’s been on top of the game for a little more than a decade.