void OnDrawGizmos()
Posted by Go crazy for anything that will make you smile.
debug용으로 갠춘한듯. void OnDrawGizmos() { Gizmos.color = Color.red; Gizmos.DrawWireSphere(transform.position, attackRange); Gizmos.color = Color.blue; Gizmos.DrawWireSphere(transform.position, searchRange); }