• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Setcolor

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

tylersaur95 answered

setColor function not working as intended

Oct 26, '21 material·setcolor

1 Reply

0 Votes

avatar image

PhotonPotatoDev edited

SetColor() In Tilemaps Isn't Working.

Apr 27, '21 unity 2d·tilemap·tile·setcolor

0 Replies

0 Votes

avatar image

LynnNguyen270798 asked

[Bolt] Cannot setColor for a gameObject in a List

Mar 27, '21 in Help Room

0 Replies

0 Votes

avatar image

Eno-Khaon commented

How to change single material color of GameObject?

Nov 20, '20 material color·setcolor

1 Reply

0 Votes

avatar image

kairoscene commented

Addressing submeshes from Rhino in Unity

Sep 26, '20 mesh·setcolor·data visualization

1 Reply

1 Votes

avatar image

GarMatt_ asked

Having Trouble With 2D Movement

Sep 14, '20 c#·2d·tiles·vector3.distance·setcolor

0 Replies

0 Votes

avatar image

Saiansh2525 commented

How to change or set the Ground and Sky Tint color of a Procedural Skybox through script?

Jun 11, '20 material·procedural·skybox·material color·setcolor

1 Reply

0 Votes

avatar image

siddharth3322 commented

Is it possiable to change the Emissive Color on VertexLit Blended Material with a script?

Jan 1, '19 material·color·change·setcolor·vertexlit

3 Replies

3 Votes

avatar image

SMetwally edited

Material.SetColor and Material.color are not working properly

Dec 4, '18 shaders·materials·color change·material color·setcolor

0 Replies

0 Votes

avatar image

Avadora answered

material.SetColor causing Hidden/InternalErrorShader

Sep 5, '18 in Help Room

1 Reply

0 Votes

avatar image

kilian060 answered

Why does material.setColor not work when used in another function?,

Nov 24, '17 in Help Room

1 Reply

0 Votes

avatar image

BunnyTales commented

Get color of button and set to an object

Oct 27, '17 color·color change·setcolor·getcolor

1 Reply

0 Votes

avatar image

envysion commented

Cannot implicitly convert type UnityEngine.MeshRenderer to UnityEngine.Material. Closed

Jul 15, '17 c#·material·meshrenderer·compile errors·setcolor

1 Reply

1 Votes

avatar image

Rosscoe3 commented

Adding Tint to a Sprite

Jun 26, '15 sprite·color·spriterenderer·tint·setcolor

2 Replies

1 Votes

avatar image

1Elfo published

material.SetColor ("_EmissionColor", Color.white)

Apr 16, '15 material color·emission·renderer.material.color·setcolor·material.

1 Reply

0 Votes

avatar image

LEDWORKS answered

Changing the global fog (image effect) color from a different script, possible?

Mar 15, '15 material·getcomponent·reference·setcolor

2 Replies

0 Votes

avatar image

Sondre-S commented

Reflections disappear when changing materials color

Feb 19, '15 camera·material·disappear·setcolor·realtime reflection

2 Replies

0 Votes

avatar image

Eric5h5 answered

Setting color information and passing it in scenes

Dec 7, '14 material·color·scene-loading·rgb·setcolor

1 Reply

0 Votes

avatar image

Cherno commented

Set Color not working on Outline

May 5, '14 shader·outline·toon·change color·setcolor

0 Replies

0 Votes

avatar image

roojerry commented

SetColor not working?

Jan 23, '14 color·alpha·not·working·setcolor

1 Reply

1 Votes

avatar image

anirudha_vfx published

"Setcolor " is permanently changing the color of shader in Assets

Oct 22, '13 shader·runtime·setcolor

0 Replies

0 Votes

avatar image

reefwirrax commented

material.SetColor not working.

Sep 30, '13 setcolor

2 Replies

0 Votes

avatar image

SergeantBiscuits commented

How do I find out if a material has particular color property?

May 19, '13 material·specular·setcolor·getcolor

1 Reply

2 Votes

avatar image

Essential commented

Any simpler way of writing this? — Changing the alpha of a named color value?

Apr 13, '13 alpha·setcolor·getcolor

1 Reply

0 Votes

avatar image

MariusVE commented

After material.SetColor, SetTexture is ignored

Jan 18, '13 material·setcolor

1 Reply

0 Votes

avatar image

Izlhandae published

Set Color (team color) to an network.instantiated prefab

Aug 15, '12 networking·sync·setcolor

2 Replies

1 Votes

avatar image

hijinxbassist edited

Change color of object, next color overlays instead of replaces

Jun 26, '12 color·setcolor·maintexture

1 Reply

0 Votes

avatar image

PrimeDerektive commented

GetColor/SetColor not working to change alpha of ParticleRenderer

Feb 19, '12 particles·alpha·setcolor·getcolor

2 Replies

0 Votes

avatar image

JonnyHilly edited

Why changing shader _Color param seems to change the _ReflectColor ?

Aug 12, '11 setcolor

0 Replies

0 Votes

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

material color material color getcolor alpha shader c# scripting beginner renderer shaders vector3.distance color change 2d scripting problem tiles particles material. networking change color tilemap renderer.material.color sync scriptingproblem rgb tile


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges