Adds a new cursor item to the cursor dictionary
- Parameters
-
id | Id of this cursor |
defaultCursor | Default/Idle cursor |
leftClickCursor | Left click cursor |
rightClickCursor | Right click cursor |
- Returns
void Cursors.CursorController.ChangeCursor |
( |
string |
id | ) |
|
|
inline |
Change the current cursor item to one from the cursor list
- Parameters
-
void Cursors.CursorController.Clear |
( |
| ) |
|
|
inline |
Clears all the cursors in the cursors dictionary
bool Cursors.CursorController.Contains |
( |
string |
id | ) |
|
|
inline |
Returns true if the cursor dictionary contains a cursor with the provided id
- Parameters
-
- Returns
void Cursors.CursorController.ForceDefaultCursor |
( |
| ) |
|
|
inline |
Force the use of the default KSP cursor
void Cursors.CursorController.RemoveCursor |
( |
string |
id | ) |
|
|
inline |
Removes a cursor from the cursors dictionary
- Parameters
-
int Cursors.CursorController.Count |
|
get |
Returns the size of the cursors dictionary
CursorItem Cursors.CursorController.this[int index] |
|
get |
Returns a cursor item for the specified index
- Parameters
-
- Returns
CursorItem Cursors.CursorController.this[string id] |
|
get |
Returns a cursor item for the specified id
- Parameters
-
- Returns
The documentation for this class was generated from the following file: