Is there a way to add supported UI component?
3 years 4 months ago #4376
by morphus
Is there a way to add supported UI component? was created by morphus
I'm using Doozy UI which link to a TextMesh Pro to set Text.
Is there a way to add support through code for new components?
If so any guidance on which file to start with?
Thank you
Is there a way to add support through code for new components?
If so any guidance on which file to start with?
Thank you
Please Log in or Create an account to join the conversation.
3 years 4 months ago #4377
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Is there a way to add supported UI component?
Hi,
Adding support for new components is quite easy,
You just need to create a class that inherits from LocalizeTarget and implement the corresponding methods.
Most of the time the implementation is quite similar to other existing components, so it will be almost a copy/paste from one of the other targets in the plugin.
For example: LocalizeTarget_UnityStandard_TextMesh or LocalizeTarget_UnityUI_Text
Hope that helps,
Frank
Adding support for new components is quite easy,
You just need to create a class that inherits from LocalizeTarget and implement the corresponding methods.
Most of the time the implementation is quite similar to other existing components, so it will be almost a copy/paste from one of the other targets in the plugin.
For example: LocalizeTarget_UnityStandard_TextMesh or LocalizeTarget_UnityUI_Text
Hope that helps,
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
Time to create page: 0.127 seconds