You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
346 B
15 lines
346 B
using Entitas;
|
|
|
|
namespace CoreGame.Render
|
|
{
|
|
[Combat]
|
|
public class InstantToBeAttractedComponent : IComponent, IReset
|
|
{
|
|
public float pickUpRange;
|
|
internal int specifiedAttractorEid; // 无需等待被拾取,直接被吸引
|
|
public void Reset()
|
|
{
|
|
specifiedAttractorEid = 0;
|
|
}
|
|
}
|
|
}
|