Re-added the "GhostOpponent" class to determine if the enemy is capable of dodging projectiles.
15 lines
230 B
C#
15 lines
230 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public struct OpponentTrait
|
|
{
|
|
public enum Trait
|
|
{
|
|
dodgeProjectiles,
|
|
spawnsEnemiesOnDeath
|
|
}
|
|
}
|