Skip to main content

StylizedElement.AddClass

Declaration#

public void AddClass(string className)

Parameters#

NameDescription
classNameName of class to add

Description#

Add a style class to used

Usage#

Example
using NullSave.GDTK.UIPro;using UnityEngine;
public class Example : MonoBehaviour{    public void ExampleMethod(StylizedElement target)    {        target.AddClass("accent");    }}