Skip to content

Commit 0e17e0d

Browse files
committed
4장 샘플 코드 수정
1 parent 0fb6957 commit 0e17e0d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

04/Done/Hello Coding/Assets/HelloCode.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ void Start() {
1313
int age = 17;
1414
float height = 168.3f;
1515
bool isFemale = true;
16+
var country = "영국";
1617

1718
// 생성한 변수들을 콘솔에 출력
1819
Debug.Log("캐릭터 이름 : " + characterName);
1920
Debug.Log("혈액형 : " + bloodType);
2021
Debug.Log("나이 : " + age);
2122
Debug.Log("키 : " + height);
2223
Debug.Log("여성인가? : " + isFemale);
24+
Debug.Log("출신 국가 : " + country);
2325

2426
// GetDistance() 메서드로 (2,2) 에서 (5,6) 사이의 거리 구하기
2527
float distance = GetDistance(2, 2, 5, 6);

0 commit comments

Comments
 (0)