コード例 #1
0
 protected override void OnDraw()
 {
     Width    = EditorUtils.IntFieldWithLabel("Map Width", Width);
     Depth    = EditorUtils.IntFieldWithLabel("Map Depth", Depth);
     NodeSize = EditorUtils.IntFieldWithLabel("Node Size", NodeSize);
     MaxSlope = EditorUtils.FloatFieldWithLabel("Max Slope", MaxSlope);
     Center   = EditorGUILayout.Vector3Field("Map Center", Center);
 }
コード例 #2
0
ファイル: RVOConfigure.cs プロジェクト: AmazingZe/BotProject
 protected override void OnDraw()
 {
     SimulationFPS = EditorUtils.IntFieldWithLabel("SimulationFPS", SimulationFPS);
 }