Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- LINQ
- skybox
- 효과음
- 유니티
- UI
- unity
- 직렬화
- 코루틴
- 람다식
- c#
- script
- InputManager
- 배열
- 자료구조
- 스파르타내일배움캠프
- 장애물달리기
- inputsystem
- ObjectPool
- 메서드
- soundmanager
- 비선형자료구조
- invokec#events
- 스택
- 인터페이스
- BGM
- Generic
- delegate
- FSM
- 유한상태머신
- 프로그래머스
Archives
- Today
- Total
목록JSON (1)
Unity 개발일지

[확인문제] 1. 아래와 같이 코드를 작성하고 오브젝트에 작성한 스크립트 컴포넌트를 추가했습니다.public class SomeClass : MonoBehaviour{ [SerializeField] private int intValue = 2; private void Start() { Debug.Log(intValue); }}인스펙터에서 intValue의 값을 3으로 변경하고, intValue 앞에 선언된 [SerializeField]를 제거헀습니다.private int intValue = 2;이 때 Debug.Log(intValue); 의 출력 결과는 어떻게 될까요?더보기Debug.Log(intValue);의 출력 결과는 2가된다. SerializeField를 제거하면, ..
Unity 개발
2024. 7. 22. 11:24