Unity Plugin (UP) & API
All Gates, regardless of their distribution mode, that have both Resource AND State Connection Outputs and at least one Resource Connection.
🔧 Here’s how the example above works: the Random Gate acts as a Sorting Gate for the Resources that pass through it from the Source. Every time it performs an action, it acts as a Trigger Gate for the Drain.
- The Source only produces Resources once every 2 Steps (the Formula: 1|2).
- The Gate triggers the Drain during 1 Step, BUT the Drain will perform its action during the next Step. This happens due to the Transfer setting on the Drain’s Resource Connection, which is set to
interval. Change this to
instantso that both actions described above happen within the same Step.
Mixed Gates will always execute
* regardless of the event it processes: a sorting or a triggering event.
Mixed Gates that also have weighted triggers outputs will only process the weighted trigger actions they need to perform when activated by external triggering events.