자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private void Spawn(GameObject prefab, Vector3 position, Quaternion rotation, HumanType humanType, List <Transform> patrolPoints) { GameObject human = Instantiate(prefab, position, rotation); ITargetable target = human.GetComponent <ITargetable>(); target.SetHumanType(humanType); target.SetPatrolPoints(patrolPoints); }