Sometimes it happens that you have to execute the same events over and over again. uBundles are a collection of uSignals and these can be managed via the uBundle database. uBundles raises all your assigned uSignals at once.
using uSignals;
using uSignals;
public class uSignalExample : MonoBehaviour {
public uBundle OnGameStartBundle;
void Start()
{
int anyInt = 100;
uSignalRaiser.RaiseBundle("Player", "OnGameStartBundle", anyInt, 5f);
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.