Files
aibis-dream/Assets/Plugins/LoopScrollRect/Samples/Demo/Scripts/ScrollIndexCallback3.cs
T
2025-09-16 17:13:21 +08:00

17 lines
317 B
C#

using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class ScrollIndexCallback3 : MonoBehaviour
{
public Text text;
void ScrollCellIndex(int idx)
{
string name = "Cell " + idx.ToString();
if (text != null)
{
text.text = name;
}
}
}