'게임 개발 > DirectX' 카테고리의 다른 글
엉망진창 D3DX - 01 : 3D 텍스쳐의 길 (0) | 2021.01.08 |
---|---|
Visual Studio 최신버전에서 MFC + DX9를 동시에 사용시 발생하는 문제. (4) | 2020.10.25 |
확실히 뜯어보는게 공부는 되네요 (0) | 2020.02.18 |
테스트 중 잡소리. (0) | 2020.01.31 |
다이렉트 X 설치 (0) | 2020.01.31 |
엉망진창 D3DX - 01 : 3D 텍스쳐의 길 (0) | 2021.01.08 |
---|---|
Visual Studio 최신버전에서 MFC + DX9를 동시에 사용시 발생하는 문제. (4) | 2020.10.25 |
확실히 뜯어보는게 공부는 되네요 (0) | 2020.02.18 |
테스트 중 잡소리. (0) | 2020.01.31 |
다이렉트 X 설치 (0) | 2020.01.31 |
짧은 근황 (0) | 2021.06.13 |
---|---|
Rect Transform 잠깐 메모 (0) | 2020.02.09 |
분명 자주 쓰는데 자주 까먹는 기능들 (0) | 2019.12.27 |
호출스택 뒤져보는걸 본격적으로 하는건 처음인듯.
지금까진 안해봤냐구요?
코드 길이가 짧아서 호출스택을 코드에서 직접 찾을수 있었거든요...
엉망진창 D3DX - 01 : 3D 텍스쳐의 길 (0) | 2021.01.08 |
---|---|
Visual Studio 최신버전에서 MFC + DX9를 동시에 사용시 발생하는 문제. (4) | 2020.10.25 |
기록 #3 (0) | 2020.05.13 |
테스트 중 잡소리. (0) | 2020.01.31 |
다이렉트 X 설치 (0) | 2020.01.31 |
참고 블로그 : https://wergia.tistory.com/184
UI 컴포넌트 간 위치 지정시 일반 Transform 좌표가 아닌 Rect Transform 좌표를 사용할것.
Rect의 기준점으로 사용될수 있는건 4가지 데이터가 있는데, Up, left, right, bottom 4가지.
Up / bottom은 y축 값, left, right는 x축 값이며,
up, right 는 offsetMax, bottom, left는 offsetMin값이다
즉, rect transform의 bottom이 필요한 경우
var rect = (rect 정보를 가져올 오브젝트).GetCompo.GetComponent();
foo(rect.offsetMin.y);
var rect = (rect 정보를 가져올 오브젝트).GetCompo.GetComponent();
foo(rect.offsetMin.y);
식으로 획득이 가능하다.
짧은 근황 (0) | 2021.06.13 |
---|---|
기록 #2 (0) | 2020.05.09 |
분명 자주 쓰는데 자주 까먹는 기능들 (0) | 2019.12.27 |
당연하게도 세팅을 위해서 라이브러리 추가를 해줘야 한다고 생각해서,
VS 프로젝트를 생성한 이후 추가메뉴를 찾다가 까먹어버린바람에...
'근데 얘들 기본 SDK로 들어왔으니까 있지 않을까?' 하고 바로 include를 시도해봤는데...
DX10부터 12까지 다 있네요?
음...
아니 이러면 진짜 설치할 필요가 없었던거 아니었나?
엉망진창 D3DX - 01 : 3D 텍스쳐의 길 (0) | 2021.01.08 |
---|---|
Visual Studio 최신버전에서 MFC + DX9를 동시에 사용시 발생하는 문제. (4) | 2020.10.25 |
기록 #3 (0) | 2020.05.13 |
확실히 뜯어보는게 공부는 되네요 (0) | 2020.02.18 |
다이렉트 X 설치 (0) | 2020.01.31 |
다이렉트 X 11의 경우 :
https://www.microsoft.com/en-us/download/details.aspx?id=6812
MS 공식홈페이지에서 DX11 sdk를 설치한다. (왜 2010년이 마지막인지는...)
그리고 Windows 10 SDK를 설치해줘야하는데...
Visual Studio 2017 이후 버전을 사용하시는 사용자들의 경우, 설치 옵션에서
'C++를 이용한 게임 개발' 을 활성화 하셨다면, 자동으로 Windows 10 SDK 까지 설치가 되어있을겁니다.
이 경우에는 추가적인 설치를 하실 필요는 없습니다만, SDK 가 설치되지 않았을 가능성이 있으니 해당 항목을 확인해줍니다.
...라고 기껏 써놨는데 검색해보니 Direct X 11.x 이후부터는 전부 Windows 10 SDK에 포함이라네요.
생각해보니 굳이 구버전 Direct X를 쓸 필요가 있긴 했나 싶긴 했습니다...
어쩐지 에러뜨더라...
에러 해결법도 '최신 버전을 삭제하고 설치후 최신버전 재설치하세요' 라고 하니, 심각한 문제가 발생하기 전까지는 Windows 10 SDK에 탑재된 버전을 이용하는것으로 하겠습니다.
최신 버전 설치 및 사용 안내는 다음 링크를 참고바랍니다 :
https://docs.microsoft.com/ko-kr/windows/win32/direct3d12/directx-12-programming-environment-set-up
P.S : DX11.x
https://docs.microsoft.com/en-us/windows/win32/api/_direct3d11/
엉망진창 D3DX - 01 : 3D 텍스쳐의 길 (0) | 2021.01.08 |
---|---|
Visual Studio 최신버전에서 MFC + DX9를 동시에 사용시 발생하는 문제. (4) | 2020.10.25 |
기록 #3 (0) | 2020.05.13 |
확실히 뜯어보는게 공부는 되네요 (0) | 2020.02.18 |
테스트 중 잡소리. (0) | 2020.01.31 |
1. Private 변수에 [SerializeField] 지정
:: 직렬화 수행
보통 자주 쓰는 목적으로는 모니터링이 필요한 Private 변수 사용시 Inspector 창에서 값을 확인하는 목적
https://docs.unity3d.com/kr/530/ScriptReference/SerializeField.html
2. [Range(A,B)]
:: A~B 사이의 값만 지정할 수 있도록 변수 값 범위를 Fix
3. Debug.log();
:: 가장 기본적인 Unity 콘솔 출력방식. 이름에서 나와있다시피 '디버그' 용으로 쓰는것이 기본.
이거로 실제 게임 화면에 뭘 띄우겠단 생각 금지.
--------
19.12.27 : 기본 업데이트
짧은 근황 (0) | 2021.06.13 |
---|---|
기록 #2 (0) | 2020.05.09 |
Rect Transform 잠깐 메모 (0) | 2020.02.09 |