Initial Commit
This commit is contained in:
commit
ee5c2f922d
2255 changed files with 547750 additions and 0 deletions
22
Assets/Scripts/AI/GoapActiveAction.cs
Normal file
22
Assets/Scripts/AI/GoapActiveAction.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
using DefaultNamespace;
|
||||
using Unity.Entities;
|
||||
|
||||
namespace AI
|
||||
{
|
||||
public struct GoapActiveAction : IComponentData
|
||||
{
|
||||
public bool1 InRange;
|
||||
public bool1 Done;
|
||||
public bool1 Fail;
|
||||
|
||||
public void MarkFailed()
|
||||
{
|
||||
Fail = true;
|
||||
}
|
||||
|
||||
public void MarkDone()
|
||||
{
|
||||
Done = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue