MOST Gate

A configurable gate system with input/output logic (math/custom), automatic text labeling (positive, negative, or empty), animations, and a customizable output hook with model management.

Gate Structure

Depending on the Gate Text (Output), MOST_Gate will automatically select the active model between Positive, Negative, and Custom models, all directly in edit mode

  • If Output Text is a Positive number or a True value >> the selected gate is Positive

  • If Output Text is a Negative number or a False value >> the selected gate is Negative

  • If Output Text is another value (string) >> the selected gate is Custom

Gate Post (TMP) is a Text to display the main gate output text

Fixed Output (TMP) is a Text to display the secondary gate output text (Fixed because it can't be edited by upgrade).

secondary gate output can be used if the main gate output is used for something else, like for the upgrades or other stuff (a lot of examples will be found on Gate prefab)

Set up The Gate

  • Gate Output: Set the text as a string. Numbers must start with a sign (+, -, x, ÷), with option to hide the sign The gate will automatically detect the type of output and activate the target game model

  • Gate Type: As an enum menu... You can add/edit types from Most_Gate cs Line 25

  • Trigger the gate:

Use Calculation() on your objects to trigger the gate

MORE... API reference

Last updated