Confirmedusers, Bureaucrats, editor, Administrators
1,779
edits
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
* If you don't have already make sure the games log output ends up in the Visual Studio output window | * If you don't have already make sure the games log output ends up in the Visual Studio output window | ||
* If you are working with shaders, you can reload them with <code>.reload shaders</code> | * If you are working with shaders, you can reload them with <code>.reload shaders</code> | ||
* Do not hold static references unless its primitive data. Static references are not garbage collected when the player leaves a server / game world. Example: Holding a static reference of a Block will keep that block in memory, which in turn keeps the API Instance in memory, which in turn keeps the entire game world in memory. | * Do not hold static references unless its primitive data. Static references are not garbage collected when the player leaves a server / game world. Example: Holding a static reference of a <code>Block</code> will keep that block in memory, which in turn keeps the API Instance in memory, which in turn keeps the entire game world in memory. | ||
=== Efficient Search Methods === | === Efficient Search Methods === |