Unity 엔진은 내부적으로 네이티브 C/C++로 빌드되었지만, 상호작용하는 데 사용하는 C# 래퍼를 포함하고 있습니다. 따라서 C# 스크립팅의 몇 가지 주요 개념을 숙지해야 합니다. 사용자 매뉴얼의 이 섹션에는 Unity가 .NET와 C#을 구현하는 방법과 코딩 시 발생할 수 있는 모든 예외에 대한 정보가 포함되어 있습니다.
Unity에서 스크립팅을 시작하는 방법과 알아야 할 기본 사항은 Unity에서 스크립팅 시작하기 문서를 참조하십시오.
이 섹션은 다음의 항목을 다룹니다.
페이지 | 설명 |
---|---|
Unity의 .NET 개요 | Unity 엔진이 .NET 프레임워크를 사용하는 방법과 이전에 Unity 외부에서 .NET를 사용한 적이 있는 경우 경험할 수 있는 차이점. 이 영역에는 Unity가 메모리를 관리하는 방법과 프로젝트에서 추가 프로파일을 참조하는 방법에 대한 정보도 포함되어 있습니다. |
스크립팅 백엔드 | Unity에는 Mono와 IL2CPP의 두 가지 주요 스크립팅 백엔드가 있습니다. 이 섹션에서는 백엔드 간의 차이점, 사용 방법 및 시기, 그리고 제한 사항에 대해 설명합니다. 또한 빌드에서 사용되지 않는 코드를 제거하는 관리되는 코드 스트리핑에 대한 정보도 포함되어 있습니다. |
에디터에서 코드 재로드 | 도메인 재로드에 대한 정보와 이 작업이 애플리케이션 성능에 미치는 영향. 또한 에디터 실행 시 코드 실행에 대한 정보와 Configurable Enter Play Mode를 사용하여 플레이 모드를 빠르게 시작하고 종료하는 방법에 대한 정보도 포함되어 있습니다. |
스크립트 직렬화 | 직렬화는 데이터 구조 또는 오브젝트 상태를 Unity가 보관하고 나중에 다시 복구할 수 있는 포맷으로 변환하는 자동 프로세스입니다. 여기에는 프로젝트에서 직렬화를 효과적으로 사용하는 방법에 대한 정보도 들어 있습니다. |
스크립트 컴파일 | Unity가 스크립트를 컴파일하는 방법 및 순서. 또한 어셈블리 정의와 활용을 위한 베스트 프랙티스 정보도 포함되어 있습니다. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.