Skip to content
Plugin(Unity/iOS/Android)プロジェクトです。
C C++ Java C# Swift Objective-C++ Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
UnityAndroidPlugin
UnityManagedPlugin
UnityNativePlugin
UnityPlugin
UnityiOSPlugin
.gitignore
README.md

README.md

Unity Plugin

the project is iOS / Android plugin for Unity.

Description

the project is develoed by Unity(2018.4.0f1),Xcode(10.1),Android Studio(3.4.1),

iOS plugin supported iOS10.0 Later.Swift Version 4

Android plugin supported Android 6.0(Marshmallow/API Level 23) Later.

Usage

Notes on use for Unity

you may confirm some sample behaviours. which exists in following folder.

Notes on use for iOS

1.download and install Xcodeproj gem on your development machine.

2.please rewrite the relevant sections of the following file to the product name.

3.please add some domain of the following file to the allowed http access domain list in UIWebView.

4.please rewrite the replacement section of the following file to the fabric api key. you can confirm fabric api key by fabric official web site.

5.please rewrite the replacement section of the following file to the facebook app id. you can confirm facebook app id by facebook official developer web site.

6.please rewrite the replacement section of the following file to the LINE channel id. you can create and confirm LINE channel id by LINE official developer web site.

7.please download GoogleService-Info.plist from your Firebase project. and place following folder.

  • place directory: UnityPlugin/Assets/Plugins/iOS/

8.please rewrite the replacement section of the following file to the Google OAUTH2.0 client id. you can confirm Google OAUTH2.0 client id by Google official developer console.

9.please configure player and build setting for UnityNativePlugin in the Unity project and published Xcode project.

  • Unity

  • Player Setting→iOS→Other Settings→Architecture:Universal

  • Xcode

  • Architectures→Build Architecture Only:Debug/Release→Yes

  • Architectures→Supported Platform:iphoneos→iOS

  • Capabilities→Push Notifications:OFF→ON

8.iOS build with Unity. and published project.

9.install dependecies framework by CocoaPods

cd /path/to/published unity project dir/
pod install

10.build with Xcode.

Notes on use for Android

1.please enable Internet connection in the Unity.

  • UnityEditor Player Setting → Android → Other Settings → Internet Access

2.please rewrite the replacement section of the following file to the fabric api key. you can confirm fabric api key by fabric official web site.

3.please rewrite the replacement section of the following file to the facebook app id. you can confirm facebook app id by facebook official developer web site.

4.please rewrite the replacement section of the following file to the LINE channel id. you can create and confirm LINE channel id by LINE official developer web site.

5.please rewrite the replacement section of the following file to the Your Android App License Key. you can create and confirm License Key by Google Play Developer Console web site.

6.please rewrite the replacement section of the following file to the Your GCM Sender Id. you can create and confirm License Key by Firebase Developer Console web site.

7.please download google-services.json from your Firebase project. and place following folder and rebuild UnityAndroidProject.

place directory: UnityAndroidPlugin/plugin/google-services.json

8.please rewrite the replacement section of the following file to the Google OAUTH2.0 client id. you can confirm Google OAUTH2.0 client id by Google official developer console.

9.please rewrite the replacement section of the following file to Keystore info

10.Published Android Studio Project from Unity.

11.Gradle Sync and Build apk by Android Studio.

You can’t perform that action at this time.