AkiraPixelWind/Assets/Scripts/Main/Role/MainRole.cs
2023-01-05 18:32:58 +08:00

37 lines
683 B
C#

using Axibug;
using Axibug.Runtime;
using System.Collections.Generic;
using UnityEngine;
namespace Game
{
public class MainRole : RoleBase
{
/// <summary>
/// ³õʼ»¯
/// </summary>
/// <param name="data"></param>
public void Init(S_ROLE_SELF data)
{
base.Init(data);
}
public override void MeshChangeState(bool ToMoveState)
{
if (ToMoveState)
{
Anime.StartRun();
}
else
{
Anime.BackToIdle();
}
}
public override void Release()
{
}
}
}