Skip to content

Commit

Permalink
1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunasawa committed May 18, 2024
1 parent 65cc4b6 commit 1941ceb
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Editor/Utilities/EAIReference.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#if UNITY_EDITOR
#if YNL_UTILITIES
using UnityEngine;

namespace YNL.SimpleAISystem
Expand All @@ -15,4 +16,5 @@ public void AssignBehaviour(AIBehaviour behaviour)
}
}
}
#endif
#endif
4 changes: 3 additions & 1 deletion Main/AI Actions/AIAction.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if YNL_UTILITIES
using YNL.Utilities.Addons;

namespace YNL.SimpleAISystem
Expand Down Expand Up @@ -34,4 +35,5 @@ public virtual void OnExitState()
InProgress = false;
}
}
}
}
#endif
4 changes: 3 additions & 1 deletion Main/AI Actions/Actions/AIActionDoNothing.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#if YNL_UTILITIES
namespace YNL.SimpleAISystem
{
public class AIActionDoNothing : AIAction
{
public AIActionDoNothing() : base(null) { }
public AIActionDoNothing(AIController controller) : base(controller) { }
}
}
}
#endif
4 changes: 3 additions & 1 deletion Main/AI Actions/Actions/AIActionLookAtTarget.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if YNL_UTILITIES
using YNL.Extensions.Methods;
using YNL.Utilities.Addons;

Expand Down Expand Up @@ -37,4 +38,5 @@ public enum AILookAtTargetType
{
OnEnter, OnExit, OnUpdate
}
}
}
#endif
4 changes: 3 additions & 1 deletion Main/AI Actions/Actions/AIActionPlayAnimation.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if YNL_UTILITIES
using YNL.Extensions.Methods;
using YNL.Utilities.Addons;
using YNL.Utility.Extension.Method;
Expand Down Expand Up @@ -36,4 +37,5 @@ public enum AIPlayAnimationMode
{
Wait, Immediate, Same, Harsh
}
}
}
#endif
2 changes: 2 additions & 0 deletions Main/AI Behaviours/AIStateKey.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if YNL_UTILITIES
using System.Collections.Generic;

namespace YNL.SimpleAISystem
Expand All @@ -15,3 +16,4 @@ public AIStateKey(string name)
}
}
}
#endif
4 changes: 3 additions & 1 deletion Main/AI Decisions/AIDecision.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if YNL_UTILITIES
using YNL.Utilities.Addons;

namespace YNL.SimpleAISystem
Expand Down Expand Up @@ -34,4 +35,5 @@ public virtual void OnExitState()
InProgress = false;
}
}
}
}
#endif
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.yunasawa.ynl.simpleaisystem",
"displayName": "YNL - Simple AI System",
"version": "1.1.3",
"version": "1.1.4",
"unity": "2022.3",
"description": "YNL - Simple AI System provides you a simple system to handle objects' behaviours as an AI.",
"keywords": [
Expand Down

0 comments on commit 1941ceb

Please sign in to comment.