플러그인을 사용하여 리소스를 전달하고 C# 스크립트에서 Unity 외부에 생성된 Java와 C++ 코드를 호출할 수 있습니다.이를 통해 타사 코드 라이브러리와 운영체제 호출과 같이 Unity에서 사용할 수 없는 기능을 활용할 수 있습니다.Unity의 플러그인에 대한 자세한 내용은 플러그인을 참조하십시오.
이 섹션에서는 Android 프로젝트에서 자체 플러그인을 생성하고 사용하는 방법에 대해 설명합니다.이 페이지에 있는 내용은 Unity용 네이티브 플러그인을 생성하는 방법을 이미 알고 있다고 가정한 것입니다.네이티브 플러그인과 사용에 대한 자세한 내용은 네이티브 플러그인을 참조하십시오.
항목 | 설명 |
---|---|
Android 플러그인 타입 | Unity Android 애플리케이션에 사용할 수 있는 다양한 플러그인 타입에 대해 설명합니다. |
C# 스크립트에서 Java 및 Kotlin 플러그인 코드 호출 | C# 스크립트에서 Java 및 Kotlin 플러그인 코드와 상호 작용합니다. |
기본 Unity 작업 확장 | Android 운영체제와 Unity Android 애플리케이션 간의 기본 상호 작용을 오버라이드합니다. |
프로젝트를 Unity 2019.4 이상으로 업그레이드하는 경우 Unity as a Library를 도입하려면 Android에서 제대로 작동하도록 네이티브 플러그인과 관리되는 플러그인을 조정해야 할 수 있습니다.
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.