This blog is about creating simple games, and has been set up to show progress of my first games.
Sunday, 15 February 2015
Editor Scripts or Context Menu?
I have tried the second way to implement resetting variables for the script. Using property drawers it is definitely easier and faster way of implementing this particular functionality but the only drawback is that it is using context menu so you have to click on a specific value to reset the appropriate values. having a button that is enabled through writing an Editor script is much easier to find to know that this script actually has default values assigned for the developer to use. This way, though is faster and therefore may be efficient when working in small teams or individually when time is crucial.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment