Trying to change color with a script in Unity. ''SpriteRenderer' does not contain a definition for 'Color' and no accessible extension method 'Color'?

后端 未结 0 1142
失恋的感觉
失恋的感觉 2020-12-18 07:00

I\'m trying to change the color of some sprites using the sprite renderer but error CS1061 comes up. Here\'s the code:

using System.Collections;
using System.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题