Skip to content

Android

Nako Sung edited this page Dec 14, 2015 · 3 revisions
class MyTextRenderActor extends TextRenderActor {
  ctor() {
    let comp = ApplicationLifecycleComponent.CreateDefaultSubobject("Lifecycle")
    comp.ApplicationHasEnteredForegroundDelegate.Add(() => {
      this.TextRender.SetText("App foreground")
    })
  }
}
Clone this wiki locally