Skip to content

Scripts

Sebastian edited this page Jan 10, 2021 · 24 revisions

Global Entities

Global entities are prefabs accompanied by scripts that get loaded in every scene. All global entities should be singletons, so that there can only be one instance of them. Global entities are also not re-loaded on every scene load. If loaded once, they stay active until Maroon gets closed.

GlobalEntityLoader

The GlobalEntities prefab has to be placed in every scene that should automatically load all global entities. The

BootstrappingManager

SceneManager

LanguageManager

SoundManager

WebGLURlParameterReader


If your script/shader visualizes or interacts with a 3d object it should not depend on the positioning and rotation of the object, it should work if the object is re-positioned and rotated.

Microsoft C# Coding Conventions
https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/ https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/capitalization-conventions


For scripts we use UNIX style line endings (LF terminated) NOTE: Maybe not? The unity standard seems to have changed here since v2019


Clone this wiki locally