This repository has been archived by the owner on Apr 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81b6c48
commit 661e586
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
TopDownEngineExtensions/Scripts/AI/Graph/Actions/AIActionCrouchStartNode.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using MoreMountains.TopDownEngine; | ||
using MoreMountains.Tools; | ||
using TheBitCave.MMToolsExtensions.AI.Graph; | ||
using UnityEngine; | ||
|
||
namespace TheBitCave.TopDownEngineExensions.AI.Graph | ||
{ | ||
/// <summary> | ||
/// A node representing a TopDown Engine <see cref="MoreMountains.TopDownEngine.AIActionCrouchStart"/> action. | ||
/// </summary> | ||
[CreateNodeMenu("AI/Action/Crouch Start")] | ||
public class AIActionCrouchStartNode : AIActionNode | ||
{ | ||
public override AIAction AddActionComponent(GameObject go) | ||
{ | ||
var action = go.AddComponent<AIActionCrouchStart>(); | ||
action.Label = label; | ||
return action; | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
TopDownEngineExtensions/Scripts/AI/Graph/Actions/AIActionCrouchStartNode.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
TopDownEngineExtensions/Scripts/AI/Graph/Actions/AIActionCrouchStopNode.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using MoreMountains.TopDownEngine; | ||
using MoreMountains.Tools; | ||
using TheBitCave.MMToolsExtensions.AI.Graph; | ||
using UnityEngine; | ||
|
||
namespace TheBitCave.TopDownEngineExensions.AI.Graph | ||
{ | ||
/// <summary> | ||
/// A node representing a TopDown Engine <see cref="MoreMountains.TopDownEngine.AIActionCrouchStop"/> action. | ||
/// </summary> | ||
[CreateNodeMenu("AI/Action/Crouch Stop")] | ||
public class AIActionCrouchStopNode : AIActionNode | ||
{ | ||
public override AIAction AddActionComponent(GameObject go) | ||
{ | ||
var action = go.AddComponent<AIActionCrouchStop>(); | ||
action.Label = label; | ||
return action; | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
TopDownEngineExtensions/Scripts/AI/Graph/Actions/AIActionCrouchStopNode.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.