Submit Search
Upload
製作 Unity Plugin for Android
•
14 likes
•
8,497 views
Johnny Sung
Follow
製作 Unity Plugin for Android 自從上次講的iOS版本了之後,不講一下Android怎麼可以XD 2014.09.25 @ Android Taipei
Read less
Read more
Technology
Report
Share
Report
Share
1 of 41
Download now
Download to read offline
Recommended
Android Wear Development
Android Wear Development
Johnny Sung
從 Google i/o 2015 看下半年 mobile 應用發展趨勢
從 Google i/o 2015 看下半年 mobile 應用發展趨勢
Ascii Huang
20150423 Android Taipei : 祖克伯F8的奇幻之旅
20150423 Android Taipei : 祖克伯F8的奇幻之旅
PRADA Hsiung
PhotoFlipCardView
PhotoFlipCardView
Katsumi Kishikawa
Build your first wear app
Build your first wear app
furusin
Press Button, Drink Coffee : An Overview of UE4 build pipeline and maintenance
Press Button, Drink Coffee : An Overview of UE4 build pipeline and maintenance
エピック・ゲームズ・ジャパン Epic Games Japan
Building html5 apps using Cordova
Building html5 apps using Cordova
David Voyles
App開發 - Web Developer的逆襲
App開發 - Web Developer的逆襲
益祥 許
Recommended
Android Wear Development
Android Wear Development
Johnny Sung
從 Google i/o 2015 看下半年 mobile 應用發展趨勢
從 Google i/o 2015 看下半年 mobile 應用發展趨勢
Ascii Huang
20150423 Android Taipei : 祖克伯F8的奇幻之旅
20150423 Android Taipei : 祖克伯F8的奇幻之旅
PRADA Hsiung
PhotoFlipCardView
PhotoFlipCardView
Katsumi Kishikawa
Build your first wear app
Build your first wear app
furusin
Press Button, Drink Coffee : An Overview of UE4 build pipeline and maintenance
Press Button, Drink Coffee : An Overview of UE4 build pipeline and maintenance
エピック・ゲームズ・ジャパン Epic Games Japan
Building html5 apps using Cordova
Building html5 apps using Cordova
David Voyles
App開發 - Web Developer的逆襲
App開發 - Web Developer的逆襲
益祥 許
Supercharge your Android UI
Supercharge your Android UI
inovex GmbH
Developing Android Apps
Developing Android Apps
Claire Lee
Visual Studio Tools for Unity 2.0 Preview
Visual Studio Tools for Unity 2.0 Preview
友太 渡辺
WebVR: Developing for the Immersive Web
WebVR: Developing for the Immersive Web
Tony Parisi
もし青森の女子WebデザイナーがAndroidと出会ったら。
もし青森の女子WebデザイナーがAndroidと出会ったら。
keiko kudo
Koin
Koin
彥彬 洪
What's new in Android Wear 2.0
What's new in Android Wear 2.0
Peter Friese
Basics of the Google Glass programming
Basics of the Google Glass programming
Miki Yutani
Build run first web application using flutter for web
Build run first web application using flutter for web
Concetto Labs
Instrumentation 101
Instrumentation 101
Apkudo
Testing Sucks, But It Doesn't Have To
Testing Sucks, But It Doesn't Have To
Apkudo
iDW資料(110123)
iDW資料(110123)
Masahiro Murakami
Effective Android UI - English
Effective Android UI - English
Pedro Vicente Gómez Sánchez
Chrome DevTools Awesome 10 Features +1
Chrome DevTools Awesome 10 Features +1
yoshikawa_t
Using PhoneGap Command Line
Using PhoneGap Command Line
Anuchit Chalothorn
Multi Window in Android N
Multi Window in Android N
Taeho Kim
Desarrollo de app móviles con tecnlogías web
Desarrollo de app móviles con tecnlogías web
Abraham Calás Torres
Intro to Mobile Development for Web iOS and Android
Intro to Mobile Development for Web iOS and Android
SendGrid
Beginning Android Flash Development - GTUG Edition
Beginning Android Flash Development - GTUG Edition
Stephen Chin
Welovejs AngularJS
Welovejs AngularJS
Tomas Corral Casas
製作 Unity Plugin for iOS
製作 Unity Plugin for iOS
Johnny Sung
我的GCM時代-推送訊息的實做分享
我的GCM時代-推送訊息的實做分享
Morning Kao
More Related Content
What's hot
Supercharge your Android UI
Supercharge your Android UI
inovex GmbH
Developing Android Apps
Developing Android Apps
Claire Lee
Visual Studio Tools for Unity 2.0 Preview
Visual Studio Tools for Unity 2.0 Preview
友太 渡辺
WebVR: Developing for the Immersive Web
WebVR: Developing for the Immersive Web
Tony Parisi
もし青森の女子WebデザイナーがAndroidと出会ったら。
もし青森の女子WebデザイナーがAndroidと出会ったら。
keiko kudo
Koin
Koin
彥彬 洪
What's new in Android Wear 2.0
What's new in Android Wear 2.0
Peter Friese
Basics of the Google Glass programming
Basics of the Google Glass programming
Miki Yutani
Build run first web application using flutter for web
Build run first web application using flutter for web
Concetto Labs
Instrumentation 101
Instrumentation 101
Apkudo
Testing Sucks, But It Doesn't Have To
Testing Sucks, But It Doesn't Have To
Apkudo
iDW資料(110123)
iDW資料(110123)
Masahiro Murakami
Effective Android UI - English
Effective Android UI - English
Pedro Vicente Gómez Sánchez
Chrome DevTools Awesome 10 Features +1
Chrome DevTools Awesome 10 Features +1
yoshikawa_t
Using PhoneGap Command Line
Using PhoneGap Command Line
Anuchit Chalothorn
Multi Window in Android N
Multi Window in Android N
Taeho Kim
Desarrollo de app móviles con tecnlogías web
Desarrollo de app móviles con tecnlogías web
Abraham Calás Torres
Intro to Mobile Development for Web iOS and Android
Intro to Mobile Development for Web iOS and Android
SendGrid
Beginning Android Flash Development - GTUG Edition
Beginning Android Flash Development - GTUG Edition
Stephen Chin
Welovejs AngularJS
Welovejs AngularJS
Tomas Corral Casas
What's hot
(20)
Supercharge your Android UI
Supercharge your Android UI
Developing Android Apps
Developing Android Apps
Visual Studio Tools for Unity 2.0 Preview
Visual Studio Tools for Unity 2.0 Preview
WebVR: Developing for the Immersive Web
WebVR: Developing for the Immersive Web
もし青森の女子WebデザイナーがAndroidと出会ったら。
もし青森の女子WebデザイナーがAndroidと出会ったら。
Koin
Koin
What's new in Android Wear 2.0
What's new in Android Wear 2.0
Basics of the Google Glass programming
Basics of the Google Glass programming
Build run first web application using flutter for web
Build run first web application using flutter for web
Instrumentation 101
Instrumentation 101
Testing Sucks, But It Doesn't Have To
Testing Sucks, But It Doesn't Have To
iDW資料(110123)
iDW資料(110123)
Effective Android UI - English
Effective Android UI - English
Chrome DevTools Awesome 10 Features +1
Chrome DevTools Awesome 10 Features +1
Using PhoneGap Command Line
Using PhoneGap Command Line
Multi Window in Android N
Multi Window in Android N
Desarrollo de app móviles con tecnlogías web
Desarrollo de app móviles con tecnlogías web
Intro to Mobile Development for Web iOS and Android
Intro to Mobile Development for Web iOS and Android
Beginning Android Flash Development - GTUG Edition
Beginning Android Flash Development - GTUG Edition
Welovejs AngularJS
Welovejs AngularJS
Viewers also liked
製作 Unity Plugin for iOS
製作 Unity Plugin for iOS
Johnny Sung
我的GCM時代-推送訊息的實做分享
我的GCM時代-推送訊息的實做分享
Morning Kao
[Gstar 2013] Unity Security
[Gstar 2013] Unity Security
Seungmin Shin
Lessons Learned with Unity and WebGL
Lessons Learned with Unity and WebGL
Lior Tal
RuntimeUnitTestToolkit for Unity(English)
RuntimeUnitTestToolkit for Unity(English)
Yoshifumi Kawai
Unite2014: Mastering Physically Based Shading in Unity 5
Unite2014: Mastering Physically Based Shading in Unity 5
Renaldas Zioma
Essay Writing (Unity and Coherence)
Essay Writing (Unity and Coherence)
Edi Brata
Viewers also liked
(7)
製作 Unity Plugin for iOS
製作 Unity Plugin for iOS
我的GCM時代-推送訊息的實做分享
我的GCM時代-推送訊息的實做分享
[Gstar 2013] Unity Security
[Gstar 2013] Unity Security
Lessons Learned with Unity and WebGL
Lessons Learned with Unity and WebGL
RuntimeUnitTestToolkit for Unity(English)
RuntimeUnitTestToolkit for Unity(English)
Unite2014: Mastering Physically Based Shading in Unity 5
Unite2014: Mastering Physically Based Shading in Unity 5
Essay Writing (Unity and Coherence)
Essay Writing (Unity and Coherence)
Similar to 製作 Unity Plugin for Android
Augmented World Expo 2014 Wearable SDK Overview
Augmented World Expo 2014 Wearable SDK Overview
Patrick O'Shaughnessey
Multiplayer game with unity3 d and meteor
Multiplayer game with unity3 d and meteor
Designveloper
Android 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti Colvin
swengineers
Why go into Android Apps Development
Why go into Android Apps Development
Jomar Tigcal
臉 - The Face Detection Functions on Android
臉 - The Face Detection Functions on Android
PRADA Hsiung
Setup for Visualisation & Interactive Prototyping with Unity3D
Setup for Visualisation & Interactive Prototyping with Unity3D
Bond University
Devraj_Nataraj_CV_PDF
Devraj_Nataraj_CV_PDF
Devraj Nataraj
End to-end native iOS, Android and Windows apps wtih Xamarin
End to-end native iOS, Android and Windows apps wtih Xamarin
James Montemagno
Java mobile 移动应用开发
Java mobile 移动应用开发
Open Party
Intro to Mobile Game Development
Intro to Mobile Game Development
Shahed Chowdhuri
Computer project 3
Computer project 3
ssuser4c1f08
다양한 화면 크기를 위한 Android 앱 설계와 구현
다양한 화면 크기를 위한 Android 앱 설계와 구현
ssuser8b46a5
Augmented reality
Augmented reality
Rizal Akbar
AMKSS Career Conference 2018: Software Engineering
AMKSS Career Conference 2018: Software Engineering
Melvin Zhang
Working with Multiple Android Screens
Working with Multiple Android Screens
Motorola Mobility - MOTODEV
Mobile Dev For Web Devs
Mobile Dev For Web Devs
Justin James
Introduction to Android - Mobile Portland
Introduction to Android - Mobile Portland
sullis
Windows Phone UX
Windows Phone UX
Seo Jinho
Johnson CV
Johnson CV
Johnson Wang
Fighting Fragmentation with Fragments
Fighting Fragmentation with Fragments
grunicanada
Similar to 製作 Unity Plugin for Android
(20)
Augmented World Expo 2014 Wearable SDK Overview
Augmented World Expo 2014 Wearable SDK Overview
Multiplayer game with unity3 d and meteor
Multiplayer game with unity3 d and meteor
Android 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti Colvin
Why go into Android Apps Development
Why go into Android Apps Development
臉 - The Face Detection Functions on Android
臉 - The Face Detection Functions on Android
Setup for Visualisation & Interactive Prototyping with Unity3D
Setup for Visualisation & Interactive Prototyping with Unity3D
Devraj_Nataraj_CV_PDF
Devraj_Nataraj_CV_PDF
End to-end native iOS, Android and Windows apps wtih Xamarin
End to-end native iOS, Android and Windows apps wtih Xamarin
Java mobile 移动应用开发
Java mobile 移动应用开发
Intro to Mobile Game Development
Intro to Mobile Game Development
Computer project 3
Computer project 3
다양한 화면 크기를 위한 Android 앱 설계와 구현
다양한 화면 크기를 위한 Android 앱 설계와 구현
Augmented reality
Augmented reality
AMKSS Career Conference 2018: Software Engineering
AMKSS Career Conference 2018: Software Engineering
Working with Multiple Android Screens
Working with Multiple Android Screens
Mobile Dev For Web Devs
Mobile Dev For Web Devs
Introduction to Android - Mobile Portland
Introduction to Android - Mobile Portland
Windows Phone UX
Windows Phone UX
Johnson CV
Johnson CV
Fighting Fragmentation with Fragments
Fighting Fragmentation with Fragments
More from Johnny Sung
[AI / ML] 用 LLM (Large language model) 來整理您的知識庫 @Devfest Taipei 2023
[AI / ML] 用 LLM (Large language model) 來整理您的知識庫 @Devfest Taipei 2023
Johnny Sung
[Flutter] Flutter Provider 看似簡單卻又不簡單的狀態管理工具 @ Devfest Kaohsiung 2023
[Flutter] Flutter Provider 看似簡單卻又不簡單的狀態管理工具 @ Devfest Kaohsiung 2023
Johnny Sung
[Golang] 以 Mobile App 工程師視角,帶你進入 Golang 的世界 (Introduction of GoLang)
[Golang] 以 Mobile App 工程師視角,帶你進入 Golang 的世界 (Introduction of GoLang)
Johnny Sung
[Flutter] 來體驗 bloc 小方塊的神奇魔法 @Devfest 2022
[Flutter] 來體驗 bloc 小方塊的神奇魔法 @Devfest 2022
Johnny Sung
與 Sign in with Apple 的愛恨情仇 @ iPlayground2020
與 Sign in with Apple 的愛恨情仇 @ iPlayground2020
Johnny Sung
Flutter 是什麼?用 Flutter 會省到時間嗎? @ GDG Devfest2020
Flutter 是什麼?用 Flutter 會省到時間嗎? @ GDG Devfest2020
Johnny Sung
談談 Android constraint layout
談談 Android constraint layout
Johnny Sung
炎炎夏日學 Android 課程 - Part3: Android app 實作
炎炎夏日學 Android 課程 - Part3: Android app 實作
Johnny Sung
炎炎夏日學 Android 課程 - Part1: Kotlin 語法介紹
炎炎夏日學 Android 課程 - Part1: Kotlin 語法介紹
Johnny Sung
炎炎夏日學 Android 課程 - Part2: Android 元件介紹
炎炎夏日學 Android 課程 - Part2: Android 元件介紹
Johnny Sung
炎炎夏日學 Android 課程 - Part 0: 環境搭建
炎炎夏日學 Android 課程 - Part 0: 環境搭建
Johnny Sung
About Mobile Accessibility
About Mobile Accessibility
Johnny Sung
Introductions of Messaging bot 做聊天機器人
Introductions of Messaging bot 做聊天機器人
Johnny Sung
First meet with Android Auto
First meet with Android Auto
Johnny Sung
Everything About Bluetooth (淺談藍牙 4.0) - Peripheral 篇
Everything About Bluetooth (淺談藍牙 4.0) - Peripheral 篇
Johnny Sung
[MOPCON 2015] 談談行動裝置的 Accessibility
[MOPCON 2015] 談談行動裝置的 Accessibility
Johnny Sung
Everything About Bluetooth (淺談藍牙 4.0) - Central 篇
Everything About Bluetooth (淺談藍牙 4.0) - Central 篇
Johnny Sung
A Quick look at ANCS (Apple Notification Center Service)
A Quick look at ANCS (Apple Notification Center Service)
Johnny Sung
uPresenter, the story.
uPresenter, the story.
Johnny Sung
Android workshop - 02. Glass development 101
Android workshop - 02. Glass development 101
Johnny Sung
More from Johnny Sung
(20)
[AI / ML] 用 LLM (Large language model) 來整理您的知識庫 @Devfest Taipei 2023
[AI / ML] 用 LLM (Large language model) 來整理您的知識庫 @Devfest Taipei 2023
[Flutter] Flutter Provider 看似簡單卻又不簡單的狀態管理工具 @ Devfest Kaohsiung 2023
[Flutter] Flutter Provider 看似簡單卻又不簡單的狀態管理工具 @ Devfest Kaohsiung 2023
[Golang] 以 Mobile App 工程師視角,帶你進入 Golang 的世界 (Introduction of GoLang)
[Golang] 以 Mobile App 工程師視角,帶你進入 Golang 的世界 (Introduction of GoLang)
[Flutter] 來體驗 bloc 小方塊的神奇魔法 @Devfest 2022
[Flutter] 來體驗 bloc 小方塊的神奇魔法 @Devfest 2022
與 Sign in with Apple 的愛恨情仇 @ iPlayground2020
與 Sign in with Apple 的愛恨情仇 @ iPlayground2020
Flutter 是什麼?用 Flutter 會省到時間嗎? @ GDG Devfest2020
Flutter 是什麼?用 Flutter 會省到時間嗎? @ GDG Devfest2020
談談 Android constraint layout
談談 Android constraint layout
炎炎夏日學 Android 課程 - Part3: Android app 實作
炎炎夏日學 Android 課程 - Part3: Android app 實作
炎炎夏日學 Android 課程 - Part1: Kotlin 語法介紹
炎炎夏日學 Android 課程 - Part1: Kotlin 語法介紹
炎炎夏日學 Android 課程 - Part2: Android 元件介紹
炎炎夏日學 Android 課程 - Part2: Android 元件介紹
炎炎夏日學 Android 課程 - Part 0: 環境搭建
炎炎夏日學 Android 課程 - Part 0: 環境搭建
About Mobile Accessibility
About Mobile Accessibility
Introductions of Messaging bot 做聊天機器人
Introductions of Messaging bot 做聊天機器人
First meet with Android Auto
First meet with Android Auto
Everything About Bluetooth (淺談藍牙 4.0) - Peripheral 篇
Everything About Bluetooth (淺談藍牙 4.0) - Peripheral 篇
[MOPCON 2015] 談談行動裝置的 Accessibility
[MOPCON 2015] 談談行動裝置的 Accessibility
Everything About Bluetooth (淺談藍牙 4.0) - Central 篇
Everything About Bluetooth (淺談藍牙 4.0) - Central 篇
A Quick look at ANCS (Apple Notification Center Service)
A Quick look at ANCS (Apple Notification Center Service)
uPresenter, the story.
uPresenter, the story.
Android workshop - 02. Glass development 101
Android workshop - 02. Glass development 101
Recently uploaded
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
Hiroshi SHIBATA
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
LoriGlavin3
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
Lars Bell
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Mydbops
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
MounikaPolabathina
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
Zilliz
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
panagenda
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Inflectra
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Sanjay Willie
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
LoriGlavin3
2024 April Patch Tuesday
2024 April Patch Tuesday
Ivanti
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
UiPathCommunity
Recently uploaded
(20)
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
How to write a Business Continuity Plan
How to write a Business Continuity Plan
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
2024 April Patch Tuesday
2024 April Patch Tuesday
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
製作 Unity Plugin for Android
1.
製作 Unity Plugin
for Android Johnny Sung 2014.09.24 @ Android Taipei
2.
3.
反應還不錯! (自己講)
4.
https://fb.com/j796160836 Johnny Sung Mobile devices
Developer https://plus.google.com/+JohnnySung http://about.me/j796160836 Mobile devices Developer https://plus.google.com/+JohnnySung http://about.me/j796160836
5.
Agenda Unity 概念與簡介 GameObject Component Android Plugin實作 Android
接口 C# 接口 檔案打包放置的注意事項
6.
3D 遊戲引擎 (也可以寫2D
Game) 全球 60% App 遊戲採用 JavaScript / C# / BOO 夭壽強的跨平台 https://unity3d.com/unity/multiplatform http://www.moneydj.com/kmdj/news/NewsViewer.aspx?a=f4767522-2281-4d16-8ed0-99c6acb797f8
7.
X Monodevelop
8.
GameObject Component
9.
GameObject GameObject
10.
GameObject Component
11.
using UnityEngine; using System.Collections; public class testComponent : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
12.
13.
14.
http://docs.unity3d.com/ScriptReference/
15.
C# AndroidJavaClass AndroidJavaObject Java Java UnitySendMessage() C# (對應的接⼝口) (Unity Engine) (Native)
16.
17.
/Applications/Unity/Unity.app/Contents/ PlaybackEngines/AndroidPlayer/development/bin classes.jar 檔案位置 Mac C:Program Files
(x86)UnityEditorData PlaybackEnginesandroidplayerdevelopmentbin Windows (optional)
18.
AndroidJavaClass AndroidJavaObject
19.
h"p://docs.unity3d.com/ScriptReference/AndroidJavaObject.html
20.
AndroidJavaObject Call() CallStatic() Get() GetStatic() SetStatic()
21.
h"p://docs.unity3d.com/ScriptReference/AndroidJavaObject.Call.html
22.
package com.example.unitytest; public class
Pet { private int id; private String name; public void setId(int id) { this.id = id; } public void setName(String name) { this.name = name; } @Override public String toString() { return "Pet [id=" + id + ", name=" + name + "]"; } }
23.
AndroidJavaObject obj = new AndroidJavaObject ("com.example.unitytest.Pet"); obj.Call ("setId", 123); obj.Call ("setName", "Lucky"); string str = obj.Call<string> ("toString"); Debug.Log (str); Pet obj =
new Pet(); obj.setId(123); obj.setName("Lucky"); String str=obj.toString(); Log.v("Unity", str); Java C#
24.
try { UnityPlayer.UnitySendMessage(gameObject, method, message); } catch(Exception
e) { Log.e("Unity", "UnitySendMessage failed" + e.getMessage()); } GameObject Name Method Name Parameter
25.
C# public void CallFromObjC(string message) { Debug.Log (message); } MyViewObject.cs try { UnityPlayer.UnitySendMessage("MyGameObject", "CallFromObjC", "hello"); }
catch (Exception e) { e.printStackTrace(); } Java MyPlugin.java
26.
Activity import android.app.Activity; import com.unity3d.player.UnityPlayer; public
class MyViewPlugin { public static Activity getActivity() { Activity a = UnityPlayer.currentActivity; return a; } } public static AndroidJavaObject getActivity () { AndroidJavaClass player; player = new AndroidJavaClass ("com.unity3d.player.UnityPlayer"); AndroidJavaObject a; a = player.GetStatic<AndroidJavaObject> (“currentActivity"); return a; } C# Java
27.
package com.unity3d.player; public class
UnityPlayerNativeActivity extends NativeActivity { // don't change the name of this variable; referenced from native code protected UnityPlayer mUnityPlayer; // Setup activity layout @Override protected void onCreate (Bundle savedInstanceState) { requestWindowFeature(Window.FEATURE_NO_TITLE); super.onCreate(savedInstanceState); getWindow().takeSurface(null); setTheme(android.R.style.Theme_NoTitleBar_Fullscreen); getWindow().setFormat(PixelFormat.RGB_565); mUnityPlayer = new UnityPlayer(this); if (mUnityPlayer.getSettings ().getBoolean ("hide_status_bar", true)) getWindow ().setFlags (WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(mUnityPlayer); mUnityPlayer.requestFocus(); } // Quit Unity @Override protected void onDestroy () { mUnityPlayer.quit(); super.onDestroy(); } // … UnityPlayerNativeActivity.java
28.
package com.example.unitytest; import android.os.Bundle; import
com.unity3d.player.UnityPlayerNativeActivity; public class MainActivity extends UnityPlayerNativeActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } }
29.
<?xml version="1.0" encoding="utf-8"?> <manifest
xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.unitytest" android:theme="@android:style/Theme.NoTitleBar" android:versionName="1.0" android:versionCode="1" android:installLocation="preferExternal"> <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" /> <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false"> <activity android:label="@string/app_name" android:screenOrientation="fullSensor" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen| keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize| smallestScreenSize|fontScale" android:name="com.example.unitytest.UnityPlayerNativeActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <meta-data android:name="unityplayer.UnityActivity" android:value="true" /> <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="false" /> </activity> </application> <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="20" /> <uses-feature android:glEsVersion="0x00020000" /> </manifest> AndroidManifest.xml
30.
31.
32.
33.
打包輸出Assets Plugins Android bin MyJar.jar res drawable-hdpi drawable-ldpi … layout values AndroidManifest.xml
34.
打包輸出
35.
Q and A
36.
Thanks!
37.
38.
References Unity Webview https://github.com/gree/unity-webview Building Plugins
for Android http://docs.unity3d.com/Manual/PluginsForAndroid.html 藍斯洛‧雜技的雜記: Unity3D Plug-in for Android -- Activity 擴展⽅方法 http://lancelotdiary.blogspot.tw/2012/05/unity3d-plug-in-for- android-activity.html 懂點Unity Plugin,替荷包省點錢!(安卓 Android篇) http://www.unityin.com/2013/05/%E6%87%82%E9%BB%9Eunity-plugin%EF%BC%8C %E6%9B%BF%E8%8D%B7%E5%8C%85%E7%9C%81%E9%BB%9E%E9%8C%A2%EF%BC %81%E5%AE%89%E5%8D%93-android%E7%AF%87/
39.
Unity3D研究院之打開Activity與調⽤用JAVA代碼傳遞參數 http://www.xuanyusong.com/archives/667 Unity GPS plugin
development tutorial: building a Android plugin for Unity with Eclipse and Ant http://www.mat-d.com/site/unity-gps-plugin-development-tutorial- building-a-android-plugin-for-unity-with-eclipse-and-ant/ References
40.
Android Back public class BackKey : MonoBehaviour { void Update() { #if UNITY_ANDROID if (Input.GetKeyDown(KeyCode.Escape)) { Application.Quit(); // Application.LoadLevel("PreviousLevel"); } #endif } } h"p://answers.unity3d.com/quesBons/25535/android-‐back-‐bu"on-‐event.html
41.
Unity 應用領域 https://www.facebook.com/groups/581769871867384 想做遊戲?
Download now