replaced zombie model, working on animations
This commit is contained in:
@@ -373,14 +373,17 @@ namespace RebootReality.jelycho.Enemies {
|
||||
}
|
||||
|
||||
///
|
||||
/// @MARK: Utility
|
||||
/// @MARK: Editor Utility
|
||||
///
|
||||
#if UNITY_EDITOR
|
||||
[Button]
|
||||
void SetupHurtboxes() {
|
||||
foreach (ZombieHurtbox hurtbox in GetComponentsInChildren<ZombieHurtbox>()) {
|
||||
hurtbox.owner = this;
|
||||
UnityEditor.EditorUtility.SetDirty(hurtbox);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
enum ZombieActorEvents {
|
||||
|
||||
Reference in New Issue
Block a user