Answers for "unity blend colors"

C#
1

unity blend colors

startColor = (Color.blue + Color.red) / 2;
Posted by: Guest on July-18-2021
1

unity blend colors

// C# 
public static Color CombineColors(params Color[] aColors) {
    Color result = new Color(0,0,0,0); 
    foreach(Color c in aColors)     {
      	result += c;     
    }    
    result /= aColors.Length;
    return result; 
}
Posted by: Guest on July-18-2021

C# Answers by Framework

Browse Popular Code Answers by Language