TextMeshPro Linked Text Font/Material
			
	
						7 years 4 months ago				#3118
		by bkane
	
	
		
			
	
			
			 		
													
	
				TextMeshPro Linked Text Font/Material was created by bkane			
			
				We're using TextMeshPro with Overflow set to "Linked", which allows text to spill over into a separate game object with another TMPro component on it.
When we localize this, only the first TMPro text has the Secondary Term (Font or Material) applied to it. Any further TMPro objects in the chain don't get the font/material swap.
I'm able to work around this for now by modifying LocalizeTarget_TextMeshPro_Label.cs to walk through the TMPro.linkedTextComponent chain when applying a new font or material. Thought I'd bring it up in case somebody else runs into this!
I believe we are using:
TextMeshPro: Release 1.0.55.2017.1.0b12 (seems a bit old - August 2017?)
Unity: 2017.4.2f2
I2Loc: 2.8.6
					When we localize this, only the first TMPro text has the Secondary Term (Font or Material) applied to it. Any further TMPro objects in the chain don't get the font/material swap.
I'm able to work around this for now by modifying LocalizeTarget_TextMeshPro_Label.cs to walk through the TMPro.linkedTextComponent chain when applying a new font or material. Thought I'd bring it up in case somebody else runs into this!
I believe we are using:
TextMeshPro: Release 1.0.55.2017.1.0b12 (seems a bit old - August 2017?)
Unity: 2017.4.2f2
I2Loc: 2.8.6
Please Log in or Create an account to join the conversation.
			
	
						7 years 4 months ago				#3119
		by Frank
	
	
		
			
					
Are you Give I2L 
	5 stars!
  Give I2L 
	5 stars!
Are you Please lets us know how to improve it!
  Please lets us know how to improve it!
					
	
			
			 		
													
	
				Replied by Frank on topic TextMeshPro Linked Text Font/Material			
			
				Hi,
Thanks for letting me know.
I wasn't aware of the linkedTextComponent feature of TMPro. Will add support for it asap.
Thanks,
Frank
							Thanks for letting me know.
I wasn't aware of the linkedTextComponent feature of TMPro. Will add support for it asap.
Thanks,
Frank
Are you
 Give I2L 
	5 stars!
  Give I2L 
	5 stars!
Are you
 Please lets us know how to improve it!
  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.
			
	
						7 years 3 months ago				#3160
		by studenman
	
	
		
			
	
			
			 		
													
	
				Replied by studenman on topic TextMeshPro Linked Text Font/Material			
			
				Can't you just add the Font or Material localization component to the linked TextMeshPro object?  It doesn't have to be a secondary term, it can be the primary localization on the linked object, or you can make the Primary term "none" and have the same secondary term.			
							
					Please Log in or Create an account to join the conversation.
			
	
						7 years 2 months ago				#3172
		by Frank
	
	
		
			
					
Are you Give I2L 
	5 stars!
  Give I2L 
	5 stars!
Are you Please lets us know how to improve it!
  Please lets us know how to improve it!
					
	
			
			 		
													
	
				Replied by Frank on topic TextMeshPro Linked Text Font/Material			
			
				v2.8.8a1 is now in the beta folder.
It adds support for linked TextMeshPro objects, for both changing Fonts and Materials.
Hope that helps,
Frank
							It adds support for linked TextMeshPro objects, for both changing Fonts and Materials.
Hope that helps,
Frank
Are you
 Give I2L 
	5 stars!
  Give I2L 
	5 stars!
Are you
 Please lets us know how to improve it!
  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: 1.705 seconds	
 
  
			 
			
