ListCarousel.AddOption
Declaration#
public void AddOption(string value)Parameters#
| Name | Description |
|---|---|
| value | Value to add to list. |
Description#
Adds a new option to the end of the list.
Usage#
Example
using NullSave.GDTK.UIPro;using UnityEngine;
public class Example : MonoBehaviour{ public void ExampleMethod(ListCarousel target) { target.AddOption("New Option"); }}