Modding:Adding Code to the Player: Difference between revisions

Jump to navigation Jump to search
add note about c# knowledge
(explicitly specify what each using directive is for)
(add note about c# knowledge)
Line 1: Line 1:
{{Modding Info}}
{{Modding Info}}
{{ambox
|type=This article presupposes some knowledge of [[Modding/C Sharp Scripting|C# scripting]].
|format=tiny}}


You can use the <code>[PlayerMutator]</code> attribute and <code>IPlayerMutator</code> interface to modify the player object before the game begins, immediately after the player <code>GameObject</code> is first created.
You can use the <code>[PlayerMutator]</code> attribute and <code>IPlayerMutator</code> interface to modify the player object before the game begins, immediately after the player <code>GameObject</code> is first created.

Navigation menu