“Unity Custom Editor Draw Line in Scene” Kode Jawaban

garis undian inspektur persatuan


   //============================================================
   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 ) );
   }
Omadel

Unity Custom Editor Draw Line in Scene

 Handles.DrawLine(pos1, pos2);
Doctor Bronze

Jawaban yang mirip dengan “Unity Custom Editor Draw Line in Scene”

Pertanyaan yang mirip dengan “Unity Custom Editor Draw Line in Scene”

Lebih banyak jawaban terkait untuk “Unity Custom Editor Draw Line in Scene” di C#

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya