Unity - RogueLike(7/14) - 장애물과 벽
Unity - RogueLike(7/14) - 장애물과 벽 using UnityEngine; using System.Collections; public class Wall : MonoBehaviour { public AudioClip chopSound1; public AudioClip chopSound2; public Sprite dmgSprite; public int hp = 3; private SpriteRenderer spriteRenderer; void Awake () { spriteRenderer = GetComponent (); } public void DamageWall (int loss) { SoundManager.instance.RandomizeSfx (chopSound1, chopSou..