Skip to content

Commit 3a9a319

Browse files
feat: custom enemy controller for custom enemies
1 parent 0187635 commit 3a9a319

4 files changed

Lines changed: 909 additions & 6 deletions

File tree

COTL_API/CustomEnemy/CustomEnemy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public abstract class CustomEnemy
1010
public Enemy enemyType = Enemy.None;
1111
public virtual string EnemyToMimic => "Assets/Prefabs/Enemies/All/Enemy Forest Archer Tennis.prefab";
1212
public virtual SkeletonDataAsset? SpineOverride => null;
13-
public virtual CustomEnemyController? EnemyController => null; //setting this will disable the original AI and replace with this
13+
public virtual Type? EnemyController => null; //setting this will disable the original AI and replace with this
1414
public virtual float maxHealth => 1f;
1515

1616
}

0 commit comments

Comments
 (0)