Somewhere in the code (outside of a class declaration) should be this code.
It’s common to put it in it’s own file DamageType.cs, but this is not mandatory. It’s likely you have it in one of your scripts already, or it shouldn’t compile.
Somewhere in the code (outside of a class declaration) should be this code.
It’s common to put it in it’s own file DamageType.cs, but this is not mandatory. It’s likely you have it in one of your scripts already, or it shouldn’t compile.