Use Advice UI for AI-generated Personas (deprecate
Prerequisite
- Advice UI prefab and script for Non-Paying User with High Expectations persona is under:
- Assets/TentuPlay/TPAdviceTemplates/Resources/TPAdviceWindowUINonpaying_Players.prefab
- Assets/TentuPlay/TPAdviceTemplates/TPAdviceWindowUINonpayingPlayersController.cs
- Advice UI prefab and script for Smart and Busy persona is under:
- Assets/TentuPlay/TPAdviceTemplates/Resources/TPAdviceWindowUISmart_And_Busy.prefab
- Assets/TentuPlay/TPAdviceTemplates/TPAdviceWindowUISmartAndBusyController.cs
TPAdviceWindowUI
- Root GameObject: U Dialog and TPAdviceWindowUI{SomePersona}Controller are the components.
- Close button: - Root GameObject: U Dialog and TPAdviceWindowUI{SomePersona}Controller are the components.
- Button for item or in-app purchases:
- TPAdviceWindowUI{SomePersona}Controller.GoToAdviceEvent is included in the On Click Event.
- Item Id Viewer and Go To Shop Example logs item id in the Unity Console when the button is clicked. They are a sample function.
- Contents of Advice: Modify the contexts of PlaceAdvice in TPAdviceWindowUI{SomePersona}Controller.cs.
Do you need help?
Do you have questions? Join TENTUPLAY Discord if you have any questions.