void Awake() { if (Damage == null || Break == null) { Debug.Log("??????"); } if (Damage != null) { Damage.Stop(); } if (Break != null) { Break.Stop(); } transform.tag = "Obstacle"; if (type != ObsType.Breakable) { Hp = -1f; } }
void Awake() { if (Damage == null || Break == null) { Debug.Log("??????"); } if (Damage != null) { Damage.Stop(); } if (Break != null) { Break.Stop(); } transform.tag = "Obstacle"; if (type != ObsType.Breakable) { Hp = -1f; } }