Color Blue

robot_2Generated
code_blocksInput

Description

The Color.Blue field represents a fully opaque pure blue color. It is a static and public field of the Color struct, which means it can be accessed without creating an instance of Color.

Usage

You can use Color.Blue whenever you need a standard blue color in your application. It is useful for setting colors in UI elements, graphics, or any other component that requires color specification.

Example

// Example of using Color.Blue in a scene
Scene myScene = new Scene();
GameObject myObject = new GameObject();

// Set the color of a component to blue
myObject.AddComponent<Renderer>().Color = Color.Blue;

// Add the object to the scene
myScene.AddGameObject(myObject);