37 lines
683 B
C#
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()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|