35 lines
546 B
C#
35 lines
546 B
C#
|
|
namespace Code.Scripts.Gameplay.Fight.ExtLogic
|
|||
|
|
{
|
|||
|
|
public abstract class BaseExtLogic
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
public bool needRemove
|
|||
|
|
{
|
|||
|
|
get;
|
|||
|
|
set;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void Init()
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void LogicUpdate(float dt)
|
|||
|
|
{
|
|||
|
|
if (needRemove) return;
|
|||
|
|
_OnLogicUpdate(dt);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
protected virtual void _OnLogicUpdate(float dt)
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void Dispose()
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|