21 lines
433 B
C#
21 lines
433 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
namespace Thousandto.Plugins.Common
|
|
{
|
|
public interface IUIComponentPlus<T, TData>
|
|
{
|
|
int Index { get; }
|
|
//设置Active
|
|
void SetActive(bool active);
|
|
//设置数据或者配置文件
|
|
void SetData(TData data);
|
|
|
|
void SetSelect(bool isSelect);
|
|
void Remove();
|
|
|
|
T Clone(EventDelegate.Callback call, int index);
|
|
}
|
|
}
|
|
|