Quantcast
Channel: Questions in topic: "spine"
Viewing all articles
Browse latest Browse all 16

[Spine2D] How to change the color of material of a skeleton object c-sharp

$
0
0
Hello, I try to change the color of a material of a Skeleton but I can't. Here the Skeleton GameObject : ![alt text][1] I tryed this, it's work well on ohter GameObject but not with Spine skeleton ``` gameObject.renderer.material.color = Color.red; gameObject.renderer.materials [0].color = Color.red; gameObject.GetComponent ().material.color = Color.blue; gameObject.GetComponent ().material.SetColor ("_TintColor", Color.blue); gameObject.GetComponent ().material.SetColor ("_Color", Color.blue); ``` [1]: http://i.imgur.com/RUHclG1.png

Viewing all articles
Browse latest Browse all 16

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>