[ValueSelector]
Parameters
Parameter Name
Arguments
Description
Examples
using System.Collections.Generic;
using UnityEngine;
using RenownedGames.Apex;
public class ValueSelectorExample : MonoBehaviour
{
[ValueSelector("GetValues")]
public string selectedValue;
[ValueSelector("GetValues", Searchable = true)]
public string searchableValue;
private IEnumerable<string> GetValues()
{
return new string[] { "Option A", "Option B", "Option C" };
}
}Last updated