ListCarousel.AddOptions
Declaration#
public void AddOptions(List<string> values)Parameters#
| Name | Description |
|---|---|
| values | List of values to add. |
Description#
Adds a list of options to the end fo the list.
Usage#
Example
using NullSave.GDTK.UIPro;using System.Collections.Generic;using UnityEngine;
public class Example : MonoBehaviour{ public void ExampleMethod(ListCarousel target) { List<string> options = new List<string>(); for (int i = 0; i < 10; i++) { options.Add("Option " + i); } target.AddOptions(options); }}