Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

unity text color

//will change the color of the text to red (RGB)
TextGameObject.color = new Color(255, 0, 0);
//will change the color of the text to red with alpha channel (RGBA)
TextGameObject.color = new Color32(255, 0, 0, 0);
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# increase length of array 
Csharp :: make command prompt hidden c# 
Csharp :: how to get keyboard input in unity 
Csharp :: c# replace dash in string 
Csharp :: file to byte array 
Csharp :: C# redirecttoaction with area 
Csharp :: c# find value in datagridview 
Csharp :: How to make game object transparent in unity 
Csharp :: c# datagridview select row right click 
Csharp :: unity keep screen always on 
Csharp :: c# kill one excel process 
Csharp :: c# check if char is string 
Csharp :: unity c# change animation 
Csharp :: columndefinition wpf 
Csharp :: click in vue 
Csharp :: what is a model in c# 
Csharp :: C# select keyword lambda 
Csharp :: how to get file type from base64 in c# 
Csharp :: first person mouse look unity 
Csharp :: c# lists 
Csharp :: asp.net core identity get all roles 
Csharp :: how to send button name for method in c# 
Csharp :: replace multiple characters in string c# 
Csharp :: how to add to a list in c# 
Csharp :: get int value from enum c# 
Csharp :: rotate along normal unity 
Csharp :: defining vectors in c# 
Csharp :: vb.net check if datatable has rows 
Csharp :: how to have referecne to script in unity 
Csharp :: how to see if a number is even c# 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =