In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Unity engine, easy to understand, but few people do a comprehensive and detailed understanding of Unity editor functions, some very practical small functions are difficult to find in daily use, but they are not small to improve work efficiency.
1) Lock Inspector -There is a small "lock" icon above the inspector panel. Click Lock to lock the inspector panel on the currently selected GameObject. This is useful when you need to set a large number of parameters to a GameObject (e.g. add a large number of references to an array).
2) Multiple Inspectors-Click on the "context menu" icon next to the small "lock" icon, select "Add Tab" from the drop-down menu, and then select "inspector." Working with the Lock Inspector feature will greatly increase productivity.
3) Search for a specific type-not only can you quickly search by name, you can also use type-click on the "Search" icon and select "Type" from the drop-down menu, or use a faster method: directly type "t:type", such as t:texture, t:material, etc.
4) Insert or delete data in Inspector's Array-It's very convenient to edit arrays in Unity!-- Until one day you decide to delete or insert data in the middle…It seems like an impossible task, but it can be done-insert data (copy a data), select data in the array and Ctrl-D (windows), Command-D (Mac). Delete the data in the middle of the array: Shift-Delete twice (first empty data, second delete data).
5) New line in Inspector text edit box- Mac just Option-Return, and Windows this function is "missing" In general, you need to copy text with new line from another text editor (such as Notepad)-this is a bit lame, so someone wrote an Editor Script to achieve this function: just create an Editor folder in your project directory, and then put this script (CreateNewLine.cs) inside it.
6) Quickly create Prefab -Set up your GameObject in Hierachy and drag it directly to the Project panel--Prefab instantly appears!
7) Edit the size of the basic Collider in Scene View-Select an object with Collider, hold down Shift key, and you can deform it after the small green square appears (the mouse must accurately click on the green square in the middle, and drag and zoom after it turns yellow). Note that this feature cannot be used if the Collector property panel in Inspector is not expanded.
8) Set custom icons for objects-Select the icon for GameObject in the inspector and select icon type, color or even create a custom icon in the drop-down list. You can also attach an icon to a script--select the script in the Project pane and click its icon in the inspector. The script icon will be automatically attached to all objects bound to the script, which is useful if you're doing something like waypoints.
9) Align to Vertex, Align to Collider -To align to vertex: Hold down the "V" and click on the target vertex, then drag the mouse to the vertex you want to align in another mesh. Align to Collider: Hold down Shift when using the Translate tool.
10) Editor Programming-If Unity Editor lacks the functionality you need, you can write it yourself. Extending Editor via scripts is very easy and the effect is remarkable. For example, PlayModePersist saves any changes you make to GameObject in PlayMode.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.