📜  unity inspector 画线 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:59.304000             🧑  作者: Mango

代码示例1
//============================================================
   void GuiLine( int i_height = 1 )
   {
       Rect rect = EditorGUILayout.GetControlRect(false, i_height );
       rect.height = i_height;
       EditorGUI.DrawRect(rect, new Color ( 0.5f,0.5f,0.5f, 1 ) );
   }