Merge pull request #11 from biomseed/main

Fix documentation
This commit is contained in:
YoshiCrafter29
2022-12-13 11:46:46 +01:00
committed by GitHub
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;
}
}