24 lines
434 B
C#
24 lines
434 B
C#
using LTGame;
|
|
|
|
namespace Gameplay.Bullet
|
|
{
|
|
public class BulletStateDestroy: BaseBulletState
|
|
{
|
|
|
|
public BulletStateDestroy(ViewBullet owner): base(owner, EBulletState.Destroy)
|
|
{
|
|
|
|
}
|
|
|
|
protected override void _OnEnter(NBaseState exitState, object param)
|
|
{
|
|
base._OnEnter(exitState, param);
|
|
|
|
owner.needRemove = true;
|
|
owner.Destroy();
|
|
|
|
}
|
|
|
|
}
|
|
}
|