Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

bioroid

3
Posts
1
Topics
6
Following
A member registered May 28, 2016

Recent community posts

Excellent!  Thank you!

Got it working.  I wasn't using the inline tags because I wanted to leave the text field alone.

Had to make ApplyMaterials() public.

Also made a copy of the material on Start() -> targetText.textMaterial = new Material(targetText.textMaterial);

and just called

 targetText.textMaterial.SetColor("_OutlineColor", stateData.textOutlineColor);

targetText.ApplyMaterials()

Are the inline tags more efficient?  

Hi,

On Unity 2022.3.60f1 here and trying to set the outline color in code using the Ultra shader.

What is the best way to do this?  I created different materials and assign them and see them updated in the inspector, but not on screen.

Last resort will be to have multiple instances of SuperTextMesh and toggle their visibility but that is less than ideal.