Skip to main content

SetTextLabelColor

Sets the color for the given text label.

C#​

void NAPI.TextLabel.SetTextLabelColor(NetHandle label, int red, int green, int blue, int alpha);

Parameters​

  • label: parameter input should be in NetHandle type
  • red: parameter input should be in int type
  • green: parameter input should be in int type
  • blue: parameter input should be in int type
  • alpha: parameter input should be in int type

Example​

// Code here...