Skip to content

Commit dc53205

Browse files
author
UserR00T
committed
Some markdown issues
1 parent cce4691 commit dc53205

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,21 @@ The inital motivation behind the project was to provide a way for server owners
2424

2525
## Installation
2626
Goto [Releases](https://github.com/UserR00T/UniversalUnityHooks/releases).
27+
2728
Download the latest version.
29+
2830
Reference the .dll into your class library project. Make sure that the class that contains all the hooks is public as well as the hook methods themselfs.
31+
2932
Put your compiled DLLs in your ``root/Plugins`` folder. You may need to run ``UniversalUnityHooks.exe`` first to create that folder.
33+
3034
(Optional) I suggest adding this command to ``Post build event``: ``copy /Y "$(TargetFileName)" "..\..\..\..\Plugins\"``, assuming you keep your solution in ``root/Scripts``.
3135

3236
## API Reference
3337

34-
The program is fairly straight forward, to hook a method, simply put
35-
`[Hook("Class.Method")]`
38+
The program is fairly straight forward, to hook a method, simply put `[Hook("Class.Method")]`
39+
3640
Then supply the instance as the first variable, and the rest of the variables as ``refs``.
37-
So if I were to want to modify the ``Damage`` methid inside of the ``SvPlayer`` class with variables ``DamageIndex``, ``Amount``, ``Attacker`` and ``Collider``, that would become
41+
So if I were to want to modify the ``Damage`` method inside of the ``SvPlayer`` class with variables ``DamageIndex``, ``Amount``, ``Attacker`` and ``Collider``, that would become
3842
```cs
3943
public class YourClass
4044
{
@@ -74,4 +78,5 @@ Unfortunately there are some limitations;
7478
## Credits
7579

7680
Ardivaba: https://github.com/Ardivaba
81+
7782
DeathByKorea: https://github.com/DeathByKorea

0 commit comments

Comments
 (0)