Announcement

Collapse
No announcement yet.

BeginPlay/EndPlay event in non-uclass?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BeginPlay/EndPlay event in non-uclass?

    I've got a long running service in a module that I only want to start/stop while playing rather than while in the editor. It currently inherits FTickableGameObject and IsTickableInEditor is true but that doesn't always work, and doesn't provide a definitive begin/end.
    George Rolfe.
    Technical Coordinator at Orbit Solutions Pty Ltd.

    #3
    Not really, that just shifts the problem to somewhere else. Right now i'm instantiating in the modules Startup method.
    George Rolfe.
    Technical Coordinator at Orbit Solutions Pty Ltd.

    Comment


      #4
      hey there,

      not knowing what your service should do but have you considered using the Init of the GameInstance?

      Does your class really needs to be ticked every frame? or does it rather respond to events?
      Live long and prosper.

      Comment

      Working...
      X