See the example scene in Third Party Support/Daikon Forge/Examples/Feature Demo Using Daikon Forge GUI With Text Input. You can find a template for implementing your own ITextFieldUI in Scripts/Templates. See the example scene in Examples/Feature Demo/Text Input Example. These should send "OnAccept" or "OnCancel" messages to the UnityTextFieldUI object. You can also add buttons to accept and/or cancel the input. ![]() If you use UnityTextFieldUI, you should add and assign child objects for the text field and, optionally, a label. This object should be active in the scene, although child objects needn't be active. If you want to prompt the player for text input during conversations, you need to create a GameObject containing a component that implements ITextFieldUI, such as UnityTextFieldUI. Add a dfEventBinding to the button, and point the Event Handler to the dialogue UI's OnContinue method:
0 Comments
Leave a Reply. |