Skip to content

Android

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

Clone this wiki locally