Main/Assets/Code/Logic/Chat/IChatNodeTool.cs
2025-01-25 04:38:09 +08:00

26 lines
614 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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);
}
}