AkiraPixelWind/Assets/Scripts/Main/Role/MainRole.cs

47 lines
875 B
C#
Raw Normal View History

2023-01-05 00:28:20 +08:00
using Axibug;
using Axibug.Runtime;
using System.Collections.Generic;
using UnityEngine;
namespace Game
{
2023-01-05 18:32:58 +08:00
public class MainRole : RoleBase
2023-01-05 00:28:20 +08:00
{
/// <summary>
/// <20><>ʼ<EFBFBD><CABC>
/// </summary>
/// <param name="data"></param>
public void Init(S_ROLE_SELF data)
{
base.Init(data);
}
protected override void OnEnable()
{
base.OnEnable();
}
protected override void OnDisable()
{
base.OnDisable();
}
public override void MeshChangeMoveState(bool ToMoveState)
2023-01-05 18:32:58 +08:00
{
if (ToMoveState)
{
Anime.StartRun();
}
else
{
Anime.BackToIdle();
}
}
2023-01-05 00:28:20 +08:00
public override void Release()
{
}
}
}