Main/Assets/Code/Logic/Chat/IChatNodeTool.cs

26 lines
614 B
C#
Raw Normal View History

2025-01-25 04:38:09 +08:00
using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using Thousandto.Core.Base;
namespace Thousandto.Code.Logic
{
/// <summary>
/// 用于logic代码和UI代码中间转换避免logic代码直接使用NGUI的内容
/// </summary>
public interface IChatNodeTool
{
bool AddCommponentToGO(ChatNode node, MyAction<GameObject> eventFunc = null, bool enableClick = true);
void PlayAnim(ChatNode node);
void StopAnim();
void Destory();
MonoBehaviour CopyLabelProperty(MonoBehaviour from, MonoBehaviour to);
}
}