Configuration for running your Bot.
More...
|
static void | Log (string message) |
| Logs a string message into the Unity console. More...
|
|
|
static bool | Tutorial [set] |
| Starts or disables the Tutorial. More...
|
|
static bool | HotSwap [set] |
| Configures the ability run the all Player's code again, right after it gets recompiled by Unity. More...
|
|
static bool | CurrentlyAfterHotswap [get] |
| If the HotSwap is turned on, this can be used to check if the current script execution happened other than the first time. More...
|
|
static int | Speed [set] |
| Modifier of the game speed in the Unity editor, value between 0 and 100. More...
|
|
Configuration for running your Bot.
◆ Log()
static void XposeCraft.Game.BotRunner.Log |
( |
string |
message | ) |
|
|
static |
Logs a string message into the Unity console.
All C# objects provide method ToString() that can be used to get a string format.
- Parameters
-
message | Mesage to be displayed. |
◆ CurrentlyAfterHotswap
bool XposeCraft.Game.BotRunner.CurrentlyAfterHotswap |
|
staticget |
If the HotSwap is turned on, this can be used to check if the current script execution happened other than the first time.
False means this is the first execution during the single Game run. It is advised to cache the value. It must be also requested during the initialization, not in Events!
◆ HotSwap
bool XposeCraft.Game.BotRunner.HotSwap |
|
staticset |
Configures the ability run the all Player's code again, right after it gets recompiled by Unity.
If the value is false, the code will only run once after the game is started.
◆ Speed
int XposeCraft.Game.BotRunner.Speed |
|
staticset |
Modifier of the game speed in the Unity editor, value between 0 and 100.
◆ Tutorial
bool XposeCraft.Game.BotRunner.Tutorial |
|
staticset |
Starts or disables the Tutorial.
The documentation for this class was generated from the following file: