You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply import the .unitypackage file in the [Releases](https://github.com/enisbt/unity-simple-console/releases/) page to your project. Console object is in the `Prefabs` folder.
10
+
11
+
## Usage
12
+
13
+
Add the `Simple Console` object in the Prefabs folder to your canvas. Console will be activate/deactivate when you press the `` ` `` key by default. This can change in the Simple Console object.
With this set up, `DealDamage` function can be used in the console like this: `DealDamage 15`. This command will substract 15 health from the object.
22
+
23
+
Functions can have aliases for ease of use in the console.
24
+
25
+

26
+
27
+
To invoke `DealDamage` function in the console you need to give `hit 15` command.
28
+
29
+
## Notes
30
+
31
+
- Only C# base data types are supported to use as parameters. For more information: https://learn.microsoft.com/en-us/dotnet/api/system.convert?view=net-7.0
32
+
- This asset requires `TextMeshPro` to work.
33
+
34
+
## License
35
+
36
+
Distributed under the MIT License. See `LICENSE` for more information.
0 commit comments