This commit is contained in:
Yoshman29
2022-12-13 22:52:00 +01:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ class MusicBeatState extends FlxUIState implements IBeatReceiver
public var controls(get, never):Controls;
/**
* Current injected script attached to the state. To add one, create a file at path "scripts/stateName" (ex: "scripts/")
* Current injected script attached to the state. To add one, create a file at path "data/states/stateName" (ex: data/states/FreeplayState)
*/
public var stateScript:Script;
+2 -2
View File
@@ -4,7 +4,7 @@ import flixel.FlxState;
/**
* A global script is a special kind of script that runs on everywhere on your mod: menus, game, etc...
*
* To create one, go to data and create a script named "global", then press F5 in game.
* To create one, go to data and create a script named "global", then press F5 in game to hot reload.
*
* All flixel signals are automatically binded, as shown below.
*/
@@ -84,4 +84,4 @@ interface GlobalScript {
* Aliases: `preUpdate`
*/
public function update(elapsed:Float):Void;
}
}