This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
forked from MicroGSD/RoadArchitect
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1027ce
commit 48ed949
Showing
116 changed files
with
9,825 additions
and
10,774 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,38 +2,35 @@ | |
using UnityEngine; | ||
using UnityEditor; | ||
#endregion | ||
|
||
|
||
public class GSDHelpWindow : EditorWindow | ||
{ | ||
void OnGUI() | ||
{ | ||
EditorStyles.label.wordWrap = true; | ||
EditorStyles.miniLabel.wordWrap = true; | ||
|
||
EditorGUILayout.LabelField( "Road Architect Help", EditorStyles.boldLabel ); | ||
EditorGUILayout.LabelField( "Please visit the online manual for help." ); | ||
GUILayout.Space( 4f ); | ||
EditorGUILayout.LabelField("Road Architect Help", EditorStyles.boldLabel); | ||
EditorGUILayout.LabelField("Please visit the online manual for help."); | ||
GUILayout.Space(4f); | ||
|
||
if (GUILayout.Button( "Click here to open online manual", EditorStyles.miniButton, GUILayout.Width( 300f ) )) | ||
if (GUILayout.Button("Click here to open online manual", EditorStyles.miniButton, GUILayout.Width(300f))) | ||
{ | ||
Application.OpenURL( "http://microgsd.com/Support.aspx" ); | ||
Application.OpenURL("http://microgsd.com/Support.aspx"); | ||
} | ||
|
||
EditorGUILayout.LabelField( "http://microgsd.com/Support.aspx", EditorStyles.miniLabel ); | ||
GUILayout.Space( 4f ); | ||
EditorGUILayout.LabelField( "Please visit the online manual for help.", EditorStyles.miniLabel ); | ||
GUILayout.Space( 4f ); | ||
EditorGUILayout.LabelField( "Please visit our unity forum thread or contact [email protected] with any questions or comments.", EditorStyles.miniLabel ); | ||
EditorGUILayout.LabelField("http://microgsd.com/Support.aspx", EditorStyles.miniLabel); | ||
GUILayout.Space(4f); | ||
EditorGUILayout.LabelField("Please visit the online manual for help.", EditorStyles.miniLabel); | ||
GUILayout.Space(4f); | ||
EditorGUILayout.LabelField("Please visit our unity forum thread or contact [email protected] with any questions or comments.", EditorStyles.miniLabel); | ||
} | ||
|
||
|
||
#region "Init" | ||
public void Initialize() | ||
{ | ||
Rect fRect = new Rect( 340, 170, 420, 180 ); | ||
Rect fRect = new Rect(340, 170, 420, 180); | ||
position = fRect; | ||
Show( ); | ||
Show(); | ||
titleContent.text = "Help Info"; | ||
} | ||
#endregion | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.