Template:Code Reference

Use this template instead of a  tag if you are citing a class from the game's C# assemblies, such as. This is useful for cohesively formatting all such code references.

Usage Examples
Use the following form if you need to reference a part definition:

Use the following form if you need to reference a class in a different namespace from :

In some cases, it may be useful to additionally specify which method the logic in question occurs in. In that case, use the following form:

If there are multiple method definitions with the same name, or it otherwise may help to be even more exact, you may append the parameter signature to the name of the method to specify an overload like so:

If it's necessary to be even more specific for a particularly large method (such as a  method), you may use the   parameter:

In other cases, it may be useful to specify a property (instead of a method). In that case, use the following form: