I’m using this code to change the sprite’s color when i collide with it.
SpriteRenderer renderer = GetComponent<SpriteRenderer>(); renderer.color = new Color(0, 1, 0, 1);
I have a debug message that tells me I’ve collided with the object and the color changes in the inspector but the sprite color stays the same. If i try to change the sprite color with the inspector while the game is running it also changes. This code worked fine with unity 5 but isn’t with unity 5.5.0a6