public override void OnInspectorGUI() { //LOGO Texture logo = (Texture)Resources.Load("EditorUI/RGSKLogo"); GUILayout.Label(logo, GUILayout.Height(50)); GUILayout.BeginVertical("Box"); GUILayout.Box("Path Creation", EditorStyles.boldLabel); EditorGUILayout.Space(); EditorGUILayout.HelpBox("This component will help you visually create a path around your track.\n\nEnabling 'Node Layout Mode' will allow you to place nodes by clicking. \n\nClick the 'Finish' button when you are done.", MessageType.Info); m_target.layoutMode = EditorGUILayout.Toggle("Node Layout Mode", m_target.layoutMode); //Not yet //m_target.looped = EditorGUILayout.Toggle("Looped", m_target.looped); //Ground em' all! if (GUILayout.Button("Align Nodes To Ground")) { m_target.AlignToGround(); } //Delete the last placed node if (GUILayout.Button("Delete Last Node")) { m_target.DeleteLastNode(); } //Finish if (GUILayout.Button("Finish")) { CreateWaypointCircuit(); } GUILayout.EndVertical(); }