Unity 13

[Tip] Unity Chan URP 셰이더 에러 수정

https://unity-chan.com/download/releaseNote.php?id=ssu_urp&lang=en URP 버전의 유니티 짱 프로젝트를 열면 아래의 유니티 버전에 따라 오류가 나오는 것을 확인할 수 있습니다. Shader error in 'Universal Render Pipeline/Toon': 'InitializeStandardLitSurfaceDataUTS': output parameter 'outSurfaceData' not completely initialized at /Users/siyan/Downloads/UnityChanSSU_URP-release-1.0.1/UnityChanSSU_URP/Packages/UnityChanToonShaderVer2_Project-relea..

Unity 2021.10.30

Input System #1

개발 환경 Unity 2020.3.13f Input System 설치하기 가장 먼저 할 일은 프로젝트에 InputSystem을 import 하는 일입니다. Package Manager를 실행합니다. Input System을 찾아 Install을 눌러 설치합니다. Yes 버튼을 눌러 에디터를 재시작합니다. Active Input Handling 이 Input System Package (New) 로 된 것을 확인할 수 있습니다. 해당 옵션으로 Input System을 변경할 수 있습니다. 참고 https://docs.unity3d.com/Packages/com.unity.inputsystem@1.1/manual/index.html

Unity 2021.09.30

Addressable Asset System 예제

Addressable Asset System 주소별로 자산을 쉽게 로드할 수있는 방법 제공 비동기 로드 지원 https://docs.unity3d.com/Packages/com.unity.addressables@1.1/manual/index.html 시작하기 Addressables 설치하기 Windows > Package Manager에서 Addressables 를 설치합니다. 주소 지정 하기 Cube 오브젝트를 하나 생성하고 Prefab화 합니다. Cube Prefab를 선택하고 Inspector에 Addressable를 체크합니다. 이름은 Cube로 변경합니다. Window > Asset Management > Addressables > Group 를 선택하여 Addressable 창을 열어 Cube..

Unity 2021.05.25

[Android] Local Notification (로컬 푸시) 구현하기

Unity Local Notification 구현하기 (로컬 푸시) 개발환경 Compatible with Unity 2018.3 or above. Compatible with Android 4.4+ (API 19) and iOS 10.0+. 구현 하기 Package Manager에서 Mobile Notifications를 Import 합니다. Project setting/Mobile Notification Setting 에서 아이콘 설정이 가능합니다. 구현 코드 테스트 참고 https://docs.unity3d.com/Packages/com.unity.mobile.notifications@1.3/manual/index.html

Unity 2021.05.09

Unity Ads 광고 구현하기

Ads 설정 PackageManager에서 Adverisement 를 선택하여 Import를 합니다. Windows/General/Servies 메뉴를 선택합니다. 'Create' 버튼을 선택합니다. Servies 에서 Ads를 'On' 을 합니다. 'Continue'를 선택합니다. 테스트를 위해 'Test Mode'를 체크해줍니다. 설정이 완료되면 'Dashboard'를 선택하여 대쉬보드로 이동합니다. Placement로 이동해서 'Banner', 'interstitial' 을 추가합니다. Ads 구현하기 Banner 광고 구현하기 (배너) Interstitial 광고 구현하기 (전면) Rewarded 광고 구현하기 (보상형) Github 코드 github.com/siyanbae/Unity_UnityA..

Unity 2021.04.29

AdMob 광고 연동하기

AdMob 광고 아이디 생성 및 설정은 생략합니다. 광고 Id는 Test Id를 사용합니다. SDK 다운로드 https://github.com/googleads/googleads-mobile-unity/releases 최신 버전의 SDK를 다운로드합니다. (작성일 기준 : v5.4.0) 프로젝트 셋팅 다운로드 받은 SDK를 프로젝트에 임포트 합니다. 플랫폼을 android 스위치 플랫폼합니다. AdMob 구현 Banner (배너) 광고 노출하기 Interstitial (전면) 광고 노출하기 rewarded (보상형) 광고 노출하기 및 보상 받기 github https://github.com/siyanbae/Unity_AdMobDemo.git siyanbae/Unity_AdMobDemo Contribute..

Unity 2021.04.27