Class NeoFpsHubEditor
Inheritance
NeoFpsHubEditor
Assembly: NeoFPS.dll
Syntax
public class NeoFpsHubEditor : EditorWindow
Properties
currentPage
Declaration
public HubPage currentPage { get; set; }
Property Value
frontPage
Declaration
public HubPage frontPage { get; }
Property Value
Declaration
public GUIStyle headerStyle { get; }
Property Value
| Type |
Description |
| GUIStyle |
|
instance
Declaration
public static NeoFpsHubEditor instance { get; }
Property Value
Methods
AddPage(String, String, HubPage, Int32)
Declaration
public void AddPage(string path, string id, HubPage page, int order)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
| System.String |
id |
|
| HubPage |
page |
|
| System.Int32 |
order |
|
AddPageGroup(String, Int32)
Declaration
public void AddPageGroup(string path, int order)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
| System.Int32 |
order |
|
DrawTableOfContents()
Declaration
public void DrawTableOfContents()
LoadAsset<T>()
Declaration
public static T LoadAsset<T>()
where T : Object
Returns
Type Parameters
LoadAsset<T>(String)
Declaration
public static T LoadAsset<T>(string assetName)
where T : Object
Parameters
| Type |
Name |
Description |
| System.String |
assetName |
|
Returns
Type Parameters
RefreshToC()
Declaration
RemovePage(HubPage)
Declaration
public void RemovePage(HubPage page)
Parameters
RemovePage(String)
Declaration
public void RemovePage(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
ResetTextures()
Declaration
public static void ResetTextures()
ShowOnStartup(Action)
Declaration
public static void ShowOnStartup(Action onComplete)
Parameters
| Type |
Name |
Description |
| System.Action |
onComplete |
|
ShowPage(String)
Declaration
public static void ShowPage(string id)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
ShowWindow()
Declaration
public static void ShowWindow()