I just tried something that I thought would work and it didn’t… and now I’m confused.
I thought it would be useful to write a coroutine to smoothly interpolate global time dilation to a new value and it made sense that this might live in
GameLib. So I wrote my
_time_dilation_ramp and noticed that nobody could call it, according to it didn’t exist.
So I’m thinking
GameLib is just
UGameplayStatics which is just a bunch of static functions, ah, oops I should have made this a
class member instead of an
instance member… hmm but now the ide doesn’t allow me to make a
class level coroutine, it automatically toggles me back to
instance as I’m typing the name of the coroutine.
So now I’m guessing that this is by design and that I never really understood how things work. Can anyone clear things up for me? Mostly just looking for ways to add useful coroutines to some of the standard libs.