Modding:Adding Code to the Player: Difference between revisions

explicitly specify what each using directive is for
m (code formatting)
(explicitly specify what each using directive is for)
Line 8: Line 8:


<syntaxhighlight lang="csharp">
<syntaxhighlight lang="csharp">
   using XRL;
   using XRL; // to abbreviate XRL.PlayerMutator and XRL.IPlayerMutator
   using XRL.World;
   using XRL.World; // to abbreviate XRL.World.GameObject
    
    
   [PlayerMutator]
   [PlayerMutator]