Welcome, Guest
Username: Password: Remember me

TOPIC: Adding SpriteRenderer's to Localize.

Adding SpriteRenderer's to Localize. 4 years 10 months ago #101

  • Jos
  • Jos's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 0
I would like to have support for SpriteRenderer components working the same way as the TextMesh/GUITexture do.

I'm going though the code for the Localize class, and am looking at the LocalizeUnityStandard file, and am trying to hack in support for SpriteRenderers.

Assuming that this is a feature which would be, eventually, added to the code base, is there a way i can add this so it can be fed back into the project? ie. github repo? Or can you give me pointers on the best way to proceed with this?

Thanks!
Jos
The administrator has disabled public write access.

Adding SpriteRenderer's to Localize. 4 years 10 months ago #102

  • Jos
  • Jos's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 0
I see that there is not really any way for me to actually do this :) So, i humbly convert this into a Feature Request.

Thanks!
Jos
The administrator has disabled public write access.

Adding SpriteRenderer's to Localize. 4 years 10 months ago #103

  • Jos
  • Jos's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 0
And since it is very similar (haha), why not MeshRenderers (really their materials) too.

And and and!! Always more to add.

Thanks
Jos
The administrator has disabled public write access.

Adding SpriteRenderer's to Localize. 4 years 10 months ago #104

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1206
  • Thank you received: 256
  • Karma: 78
Sure! I have been adding targets as they are requested/needed.
For the next version I'm working on, I included the Visibility target as well (to be able of enabling/disabling objects based on the language).

I will add those features as well (More Sprite support and other renderers). I will let you know as soon as I get a beta of the new version so you could try it.

Nonetheless, if you need right away to change complex objects, you could also try placing them as Prefabs. The plugin currently allows changing prefab instances depending on the language.


Thanks a lot and let me of any suggestion or issue you find!
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
The administrator has disabled public write access.
Time to create page: 0.146 seconds
Template by JoomlaShine