Skip to main content

UIListSource.SetSelectedItem

Declaration#

public virtual void SetSelectedItem(T value)

Parameters#

NameDescription
valueItem to set as selected

Description#

Set the selected item of type T

Usage#

using NullSave.GDTK;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(UIListSource target, string other)    {       target.SetSelectedItem(other);    }
}