前言 Mesh Renderer和Skinned Mesh Renderer组件默认不显示Order,找了个工具显示一下。 源码 下面两个代码放入Editor文件夹中 MeshRendererInspector.cs using UnityEngine; using UnityEditor; using System.Reflection; using System; using UnityEditorInternal; [CustomEditor(typeof(MeshRenderer)), CanEditMultipleObjects] public class MeshRendererInspector : Editor { private string[] sortingLayerNames; private int sortingOrder; private int sortingLayer; private MeshRenderer[] renderer; private bool sortingLayerEqual; private bool...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile