유니티(Unity)에서 partial 클래스 사용(클래스명과 파일명, MonoBehaviour)일반적으로 C#에서 클래스 이름과 .cs 파일 이름이 동일하지않아도 문제 없이 컴파일되며 정상적으로 동작합니다. 유니티(Unity)에서는 클래스 이름과 파일 이름이 일치하지 않으면 오류가 발생할 수 있습니다. 특히 유니티의 컴포넌트 시스템을 사용하고 게임오브젝트에 추가하기위해(MonoBehaviour를 상속받는 스크립트) 파일 이름과 클래스 이름이 일치해야합니다. // MyScript.cs using UnityEngine; public class MyScript : MonoBehaviour { void Start() { Debug.Log("Hello, Unity!"); } }..
유니티(Unity) 오브젝트 다중 콜라이더 충돌 판별 몇가지 방법한 오브젝트의 계층에 여러개의 콜라이더가 존재할때 충돌 콜라이더 구별방법 void OnCollisionEnter(Collision collision) { Collider hitCollider = collision.contacts[0].thisCollider; if (hitCollider.name == "Collider1") { Debug.Log("Collider1과 충돌"); } else if (hitCollider.name == "Collider2") { ..
유니티(Unity)에서 렌더텍스처(RenderTexture) 활성화 및 해제(active, release) 사용예시렌더 텍스처(RenderTexture)는 렌더링할수있는 텍스처(textures that can be rendered to)로써 3D 장면을 텍스처로 렌더링할 수 있는 특별한 종류의 텍스처입니다. 주로 3D 장면을 특정 렌더 텍스처로 렌더링하고 결과를 텍스처로 저장하는데 사용합니다. https://docs.unity3d.com/ScriptReference/RenderTexture.html렌더텍스처(RenderTexture) 활성화 및 해제//RenderTexture 생성 RenderTexture rt = new RenderTexture(256, 256, 24); rt.Create(); //..
유니티 코리아 E-book 시리즈 무료 다운로드(한국어 번역본)아래 웹사이트(Unity Square)에서 유니티에서 제공하는 다양한 리소스 자료(백서, 케이스 스터디, e-book, 기타)를 다운로드할수있습니다.https://www.unitysquare.co.kr/growwith/resource 게임 프로그래밍 패턴으로 코딩 스킬 업그레이드 https://www.unitysquare.co.kr/growwith/resource/form?id=520&utm_source=youtube&utm_medium=social&utm_campaign=kr_bestebookcardnews_2408 Unity Square게임 프로그래밍 패턴으로 코딩 스킬 업그레이드unitysquare.co.kr Unity 게임 프로파..
유니티(Unity) 인앱결제(IAP, In-App Purchasing) 사용법 문서모음유니티 인앱 구매 https://unity.com/kr/features/iap유니티 인앱결제 세팅(Setting up Unity IAP) https://docs.unity3d.com/Manual/UnityIAPSettingUp.htmlIAP 리스너, 구매 이행(IAP Listeners, Purchase fulfillment) https://docs.unity3d.com/Packages/com.unity.purchasing@4.12/manual/IAPListener.html코드리스 IAP(Codeless IAP) https://docs.unity3d.com/Manual/UnityIAPCodelessIAP.htmlIAP B..
콘텐츠 생성형 인공지능(AI) 도구 다양한 종류(텍스트, 이미지, 동영상, 기타)텍스트 생성형 AIGPT(Open AI)https://openai.com/index/chatgpt/ https://youtu.be/DQacCB9tDaw 이미지 생성형 AIdall-e-3 https://openai.com/index/dall-e-3/https://youtu.be/sqQrN0iZBs0 Midjourney https://www.midjourney.com/home Night Cafe https://creator.nightcafe.studio/ Art breeder https://www.artbreeder.com/ ArtbreederA collaborative tool for creating im..
3D 맥스 캐릭터 리깅 튜토리얼(Autodesk 3ds Max Learning Channel)오토데스크 3D 맥스 유튜브 공식 채널에서 제공하는 3D 캐릭터 리깅 튜토리얼 시리즈입니다. 시리즈를 구성하는 주요 세가지 내용은 아래와 같습니다 -캐릭터 스켈레톤 구축하는 방법( build the bone skeleton) -캐릭터의 지오메트리를 스켈레톤에 스키닝하는 방법(skin the character's geometry to that skeleton) -캐릭터 스켈레톤 리깅(rig the skeleton) Rigging a Character for Gameshttps://youtu.be/_gm_g8do32k?list=PLnKw1txyYzRlxh1-BT4CifPXC5TBg2vUd 캐릭터 본 스켈리톤 구축..
유니티(Unity) 증강현실 튜토리얼 및 사용예시 모음(AR Core, XR Foundation)AR 평면 감지 비활성화 https://vionixstudio.com/2022/08/08/disabling-ar-plane-detection/ Disabling AR plane detection and Changing AR plane texture in Unity - VionixStudioThis tutorial is the continuation of our getting started with AR foundation tutorials. In this tutorial, we will learn how to disable AR plane detection and change the default AR pla..
구글애드몹(Google AdMob) 광고 게시를 위한 준비(앱 설정, 앱 스토어 연결, 기타)모든 신규 앱은 앱 준비 상태 검토를 거쳐야 광고를 게제할수있습니다. 애드몹에서 앱 설정하기(게시된 앱 또는 게시되지 않은 앱 설정)https://support.google.com/admob/answer/9989980?hl=en&ref_topic=7384409&sjid=11635277468471385938-AP 앱을 앱 스토어에 연결하기 (비공개 Google Play 앱은 AdMob에 연결할 수 없습니다. 모든 Android 앱은 지원되는 스토어에 출시되어야 AdMob에 연결할 수 있습니다) https://support.google.com/admob/answer/10037806앱 준비 상태 이해 https://s..
분산 행동 모델(Distributed Behavior Model) 보이드(Boids) 유니티 시뮬레이션 레퍼런스분산 행동 모델분산 행동 모델(Distributed Behavior Model)은 다수의 개체가 중앙 제어 없이 각각 독립적인 로컬 규칙에 따라 행동하면서도 집단으로서의 전체적인 행동을 만들어내는 시스템을 의미합니다(집단의 각 개체가 개별적으로 행동하면서도 집단의 조화로운 움직임을 이루는 원리) 보이드(Boids)보이드(Boids, bird-oid object)는 새들의 무리 짓기 행동(flocking behaviour of birds)과 관련된 집단 운동을 시뮬레이션하기위해 Craig Reynolds가 개발한 인공 생명 프로그램(artificial life program)입니다. 보이드는 분산..
모바일 인게임 및 앱 광고 수익에 대한 글 모음모바일 인게임 광고: 장점, 전략과 팁https://www.adjust.com/ko/blog/what-is-in-game-advertising/ 모바일 인게임 광고: 장점, 전략과 팁 | Adjust인게임 광고의 인기가 높아지고 있습니다. 모바일 인게임 광고의 형식과 유형(정적/동적 광고), 효과를 자세히 알아보세요.www.adjust.com 리워드 동영상 광고 이해하기https://www.adjust.com/ko/blog/understanding-rewarded-video-ads/ 리워드 동영상 광고의 10가지 모범 사례 | Adjust리워드 동영상 광고는 유저 교류를 높일 수 있는 스마트한 방법입니다. Adjust 가이드에서 리워드 동영상 광고에 대한 모..
3D 맥스 애니메이션에서 캐릭터와 사물의 움직임을 제어하는 두가지 방법(FK, IK)계층과 운동학(Hierarchies and Kinematics)인간, 동물, 기계등을 애니메이션할 때 객체를 서로 연결하여 계층 또는 체인을 형성함으로써 한 객체의 애니메이션이 다른 객체에 영향을 미치는 방식으로 애니메이션 과정을 간소화할 수 있습니다. https://help.autodesk.com/view/3DSMAX/2017/ENU/?guid=GUID-8F54A82B-A56D-467D-8331-46D69B5DCF8AForward Kinematics (FK)-순방향 운동학 -부모 객체(parent)에서 자식 객체(child)로 계층적 연결(Hierarchical linking) -연결된 객체 간의 연결 조인트를 정의하..