Class HubTocEntry
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public class HubTocEntry : IComparable<HubTocEntry>
Constructors
HubTocEntry(String, HubPage, Int32)
Declaration
public HubTocEntry(string name, HubPage p, int o = 0)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| HubPage |
p |
|
| System.Int32 |
o |
|
Fields
children
Declaration
public List<HubTocEntry> children
Field Value
| Type |
Description |
| System.Collections.Generic.List<HubTocEntry> |
|
expand
Declaration
public HubTocEntry.ExpandMode expand
Field Value
order
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
page
Declaration
Field Value
tocLower
Declaration
Field Value
| Type |
Description |
| System.String |
|
tocName
Declaration
Field Value
| Type |
Description |
| System.String |
|
Properties
errorIcon
Declaration
public static GUIStyle errorIcon { get; }
Property Value
| Type |
Description |
| GUIStyle |
|
infoIcon
Declaration
public static GUIStyle infoIcon { get; }
Property Value
| Type |
Description |
| GUIStyle |
|
isExpanded
Declaration
public bool isExpanded { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
warningIcon
Declaration
public static GUIStyle warningIcon { get; }
Property Value
| Type |
Description |
| GUIStyle |
|
Methods
AddChild(String, HubPage)
Declaration
public HubTocEntry AddChild(string name, HubPage p)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| HubPage |
p |
|
Returns
Awake()
Declaration
CompareTo(HubTocEntry)
Declaration
public int CompareTo(HubTocEntry other)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
ContainsPage(HubPage)
Declaration
public bool ContainsPage(HubPage p)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Destroy()
Declaration
Draw(Single, Int32)
Declaration
public void Draw(float width, int indent)
Parameters
| Type |
Name |
Description |
| System.Single |
width |
|
| System.Int32 |
indent |
|
RemoveChild(HubPage)
Declaration
public bool RemoveChild(HubPage p)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
ResetExpandedState()
Declaration
public void ResetExpandedState()
SortChildren()
Declaration
public void SortChildren()
Implements
System.IComparable<T>