您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
503 B

using System.Collections.Generic;
using UnityEngine;
namespace LobbyRelaySample.ngo
{
public class SymbolData : ScriptableObject
{
[SerializeField] public List<Sprite> m_availableSymbols;
public int SymbolCount => m_availableSymbols.Count;
public Sprite GetSymbolForIndex(int index)
{
if (index < 0 || index >= m_availableSymbols.Count)
index = 0;
return m_availableSymbols[index];
}
}
}