blob: a823890deb1e14f601f2a73790b8b35c59241194 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "defines.h"
// Events/signals that get triggered by certain things that happen
/*
e.g.
collider enters volume (collider)
collider exits volume (collider)
you could create a custom signal that only triggers when a collider has been inside a volume for 3
seconds listen for Enter, start timer, if hits 3 -> emit signal. Else, reset state
Top-level triggers:
level loaded
*/
|