SlideShare uma empresa Scribd logo
1 de 50
Baixar para ler offline
デモを中心としたセッションです。
Devices
Services
Windows in
the cloud
http / https
• HTML 5 Web アプリ
• デスクトップ アプリ
• Windows ストア アプリ
• ASP.NET MVC, ASP.NET Web API
• ASP.NET SignalR
• Windows Azure Mobile Services
REST / JSON
これからのアプリ開発の選択肢
生まれ変わった Windows
タッチが最優先
新たな開発モデル
複数のフォーム ファクター
Windows ストア
Windows 8 プラットフォーム
Orcs Must Survive
Drift Mania Championship 2
Pettson's Inventions
Gunpowder
Rumpelstiltskin 3D
Snow White Prequel
Razor Salvation
Siegecraft
Qbism
Hungry MonstR
Fling Theory
Experiment HD など
Unity
コンテンツ
作成
Windows
ストアアプリ用
にビルド
アプリの仕上げ
Windows
固有の機能の
実装
パッケージ
作成
Windows
ストアへ申請
Remote Tools for Visual Studio 2012
http://go.microsoft.com/fwlink/?LinkId=255953
Assets¥Plugins Assets¥Plugins¥Metro
http://bit.ly/WAMobileService
Unity から Windows Azure Mobile
Services へアクセスするプラグイン
Windows 8, Windows Phone 8 対応
iOS, Android 対応予定
Plugins Bitrave.Azure.dll
Newtonsoft.Json.dll (net20)
RestSharp.dll (net35-client)
Metro Bitrave.Azure.dll
RestSharp.dll
Newtonsoft.Json.dll (net45)
Unity 4.2 の制約にご注意
http://bit.ly/unity42w8
JavaScript (Unity Script) や Boo は
C# コードに変更しましょう
Windows App Certification Kit
http://msdn.microsoft.com/en-us/windows/apps/jj572486.aspx
Windows ストア、開発者登録
 Microsoft アカウントを作成
法人の場合、共用できるアカウントを作成
 Windows ストアにアクセスするコンピュータを
「信頼済み PC」に登録
 クレジットカードを準備 (少額決済の確認が必須)
 https://appdev.microsoft.com/StorePortals/ へアクセス
 法人登録の場合は、GeoTrust (Symantec) から届く
メールをご確認
http://bit.ly/WSAppReg
Visual Studio with MSDN Subscription
~ Visual Studio を入手するなら MSDN サブスクリプション付きで
技術サポート付き
最新バージョン、および過去バージョンを入手
Visual Studio 2013 Windows 8.1
Windows Server 2012 R2
SQL Server 2014
Team Foundation Server
Windows XP Visual Basic 6.0 MS-DOS 6.0 … など
DreamSpark とは?
学生や教員のみなさまの技術的な学習や教育、研究をサポー
トする年間制のメンバーシッププログラムです。
www.dreamspark.com
DreamSpark のメリット
① マイクロソフトの開発ツールやサーバー製品をいつでも
ダウンロードできます
② 学生個人は 0円で、教育機関は 10,500円から
ご利用できます
③ ダウンロードした製品は永続的に利用できます
Assets¥Plugins Assets¥Plugins¥Metro
プラグインの作成
このファイルに WinRT API を使った
機能を実装
WinRT 用クラスライブラリで作成した
ファイルのショートカットを作成
1. プロジェクトを右クリック→追加→既存の項目
2. UnityWinRTPluginのLiveTile.csを選択
3. ダイアログの追加ボタンで
“リンクとして追加”を選択
これにより、同じファイルを利用
プラグインの使い道
Windows ストアアプリ側で使用
(ストアアプリプロジェクトに追加)
Build した後に実行されるコード
Windows ランタイム (.NET 4.5レベル)
Unity プロジェクト側 で使用
(Unity Editor 内は .NET 2.0 レベル)
条件コンパイルを利用し、Unity Editor 内で
動作しないコードは含めないこと
それぞれのライブラリー
を
同じアセンブリ名、
同じ名前空間にすること
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#if NETFX_CORE
using Windows.UI.Notifications;
#endif
namespace UnityWinRTPlugin
{
public class LiveTile
{
public bool UpdateTile(string title, string text)
{
#if NETFX_CORE
var tile = TileUpdateManager.GetTemplateContent(TileTemplateType.TileSquareText02);
var elements = tile.GetElementsByTagName("text");
elements[0].AppendChild(tile.CreateTextNode(title));
elements[1].AppendChild(tile.CreateTextNode(text));
TileUpdateManager.CreateTileUpdaterForApplication().Update(new TileNotification(tile));
#endif
return true;
}
}
}
Pluginsフォルダに
Metro
という名前で
サブフォルダー作成
DLLファイル
をコピー
“External Script Editor”を
"Browse…" からエクスプ
ローラーを呼び出し、
devenv.exe を指定して、
“Visual Studio 2012”に設定
using UnityWinRTPlugin;
LiveTile tile = new LiveTile();
tile.UpdateTile(
“Fire!”,
DateTime.Now.ToShortTimeString());
http://msdn.microsoft.com/ja-jp/library/windows/apps/br230836.aspx
Windows アプリ認定キット (WACK)
 Windows ストアにアプリを提出する前の
事前テスト用ツール
 パッケージの作成時に実行
 あるいは、手動で呼び出し (windows app で検索)
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot
guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Mais conteúdo relacionado

Semelhante a CEDEC 2013 Unity on Windows 8

Linux & Mac OS でも動く! ~ オープンソース & クロスプラットフォーム .NET の歩き方 ~
Linux & Mac OS でも動く! ~ オープンソース & クロスプラットフォーム .NET の歩き方 ~Linux & Mac OS でも動く! ~ オープンソース & クロスプラットフォーム .NET の歩き方 ~
Linux & Mac OS でも動く! ~ オープンソース & クロスプラットフォーム .NET の歩き方 ~Akira Inoue
 
.NET Core 5 ~ Windows, Linux, OS X そして Docker まで ~
.NET Core 5 ~ Windows, Linux, OS X そして Docker まで ~.NET Core 5 ~ Windows, Linux, OS X そして Docker まで ~
.NET Core 5 ~ Windows, Linux, OS X そして Docker まで ~Akira Inoue
 
Windows® API Code Pack for Microsoft® .NET Framework
Windows® API Code Pack for Microsoft® .NET FrameworkWindows® API Code Pack for Microsoft® .NET Framework
Windows® API Code Pack for Microsoft® .NET FrameworkTadahiro Higuchi
 
Windows 8時代のアプリ開発
Windows 8時代のアプリ開発Windows 8時代のアプリ開発
Windows 8時代のアプリ開発信之 岩永
 
[公開用]Netラボ2012年2月勉強会 asp.netmvc4 beta新機能の紹介
[公開用]Netラボ2012年2月勉強会 asp.netmvc4 beta新機能の紹介[公開用]Netラボ2012年2月勉強会 asp.netmvc4 beta新機能の紹介
[公開用]Netラボ2012年2月勉強会 asp.netmvc4 beta新機能の紹介david9142
 
ADO.NET Entity Framework
ADO.NET Entity Framework ADO.NET Entity Framework
ADO.NET Entity Framework Microsoft
 
.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線
.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線
.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線Akira Inoue
 
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NETAkira Inoue
 
jQuery と MVC で実践する標準志向 Web 開発
jQuery と MVC で実践する標準志向 Web 開発jQuery と MVC で実践する標準志向 Web 開発
jQuery と MVC で実践する標準志向 Web 開発Akira Inoue
 
13016 n分で作るtype scriptでnodejs
13016 n分で作るtype scriptでnodejs13016 n分で作るtype scriptでnodejs
13016 n分で作るtype scriptでnodejsTakayoshi Tanaka
 
.NETクロスプラットフォーム
.NETクロスプラットフォーム.NETクロスプラットフォーム
.NETクロスプラットフォームYasushi Kato
 
C#勉強会 ~ C#9の新機能 ~
C#勉強会 ~ C#9の新機能 ~C#勉強会 ~ C#9の新機能 ~
C#勉強会 ~ C#9の新機能 ~Fujio Kojima
 
Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識shigeya
 
TypeScript ファースト ステップ (v.0.9 対応版) ~ Any browser. Any host. Any OS. Open Sourc...
TypeScript ファースト ステップ (v.0.9 対応版) ~ Any browser. Any host. Any OS. Open Sourc...TypeScript ファースト ステップ (v.0.9 対応版) ~ Any browser. Any host. Any OS. Open Sourc...
TypeScript ファースト ステップ (v.0.9 対応版) ~ Any browser. Any host. Any OS. Open Sourc...Akira Inoue
 
Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~
Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~
Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~Akira Inoue
 
Windows Phoneで始める拡張現実の世界
Windows Phoneで始める拡張現実の世界Windows Phoneで始める拡張現実の世界
Windows Phoneで始める拡張現実の世界Akira Hatsune
 
Empower every App and every Developer in a Mobile-first, Cloud-first World.
Empower every App and every Developer in a Mobile-first, Cloud-first World.Empower every App and every Developer in a Mobile-first, Cloud-first World.
Empower every App and every Developer in a Mobile-first, Cloud-first World.Akira Inoue
 
.NET Core とマルチプラットフォーム
.NET Core とマルチプラットフォーム.NET Core とマルチプラットフォーム
.NET Core とマルチプラットフォームshozon
 

Semelhante a CEDEC 2013 Unity on Windows 8 (20)

20060419
2006041920060419
20060419
 
Linux & Mac OS でも動く! ~ オープンソース & クロスプラットフォーム .NET の歩き方 ~
Linux & Mac OS でも動く! ~ オープンソース & クロスプラットフォーム .NET の歩き方 ~Linux & Mac OS でも動く! ~ オープンソース & クロスプラットフォーム .NET の歩き方 ~
Linux & Mac OS でも動く! ~ オープンソース & クロスプラットフォーム .NET の歩き方 ~
 
.NET Core 5 ~ Windows, Linux, OS X そして Docker まで ~
.NET Core 5 ~ Windows, Linux, OS X そして Docker まで ~.NET Core 5 ~ Windows, Linux, OS X そして Docker まで ~
.NET Core 5 ~ Windows, Linux, OS X そして Docker まで ~
 
Windows® API Code Pack for Microsoft® .NET Framework
Windows® API Code Pack for Microsoft® .NET FrameworkWindows® API Code Pack for Microsoft® .NET Framework
Windows® API Code Pack for Microsoft® .NET Framework
 
Windows 8時代のアプリ開発
Windows 8時代のアプリ開発Windows 8時代のアプリ開発
Windows 8時代のアプリ開発
 
sveltekit-ja.pdf
sveltekit-ja.pdfsveltekit-ja.pdf
sveltekit-ja.pdf
 
[公開用]Netラボ2012年2月勉強会 asp.netmvc4 beta新機能の紹介
[公開用]Netラボ2012年2月勉強会 asp.netmvc4 beta新機能の紹介[公開用]Netラボ2012年2月勉強会 asp.netmvc4 beta新機能の紹介
[公開用]Netラボ2012年2月勉強会 asp.netmvc4 beta新機能の紹介
 
ADO.NET Entity Framework
ADO.NET Entity Framework ADO.NET Entity Framework
ADO.NET Entity Framework
 
.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線
.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線
.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線
 
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
 
jQuery と MVC で実践する標準志向 Web 開発
jQuery と MVC で実践する標準志向 Web 開発jQuery と MVC で実践する標準志向 Web 開発
jQuery と MVC で実践する標準志向 Web 開発
 
13016 n分で作るtype scriptでnodejs
13016 n分で作るtype scriptでnodejs13016 n分で作るtype scriptでnodejs
13016 n分で作るtype scriptでnodejs
 
.NETクロスプラットフォーム
.NETクロスプラットフォーム.NETクロスプラットフォーム
.NETクロスプラットフォーム
 
C#勉強会 ~ C#9の新機能 ~
C#勉強会 ~ C#9の新機能 ~C#勉強会 ~ C#9の新機能 ~
C#勉強会 ~ C#9の新機能 ~
 
Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識
 
TypeScript ファースト ステップ (v.0.9 対応版) ~ Any browser. Any host. Any OS. Open Sourc...
TypeScript ファースト ステップ (v.0.9 対応版) ~ Any browser. Any host. Any OS. Open Sourc...TypeScript ファースト ステップ (v.0.9 対応版) ~ Any browser. Any host. Any OS. Open Sourc...
TypeScript ファースト ステップ (v.0.9 対応版) ~ Any browser. Any host. Any OS. Open Sourc...
 
Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~
Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~
Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~
 
Windows Phoneで始める拡張現実の世界
Windows Phoneで始める拡張現実の世界Windows Phoneで始める拡張現実の世界
Windows Phoneで始める拡張現実の世界
 
Empower every App and every Developer in a Mobile-first, Cloud-first World.
Empower every App and every Developer in a Mobile-first, Cloud-first World.Empower every App and every Developer in a Mobile-first, Cloud-first World.
Empower every App and every Developer in a Mobile-first, Cloud-first World.
 
.NET Core とマルチプラットフォーム
.NET Core とマルチプラットフォーム.NET Core とマルチプラットフォーム
.NET Core とマルチプラットフォーム
 

Mais de Akira Onishi

OpenShift Ready、エンジニア視点によるデジタル変革への備え
OpenShift Ready、エンジニア視点によるデジタル変革への備え OpenShift Ready、エンジニア視点によるデジタル変革への備え
OpenShift Ready、エンジニア視点によるデジタル変革への備え Akira Onishi
 
SAPPORO CEDEC 2014 Visual Studio Tools for Unity
SAPPORO CEDEC 2014 Visual Studio Tools for UnitySAPPORO CEDEC 2014 Visual Studio Tools for Unity
SAPPORO CEDEC 2014 Visual Studio Tools for UnityAkira Onishi
 
Unite 2014 Seattle を踏まえて Unityゲーム開発 on Windows
Unite 2014 Seattle を踏まえて Unityゲーム開発 on WindowsUnite 2014 Seattle を踏まえて Unityゲーム開発 on Windows
Unite 2014 Seattle を踏まえて Unityゲーム開発 on WindowsAkira Onishi
 
Microsoft × Unity - Visual Studio Tools for Unityを使った開発・デバッグ、Unityによるユニバーサル W...
Microsoft × Unity - Visual Studio Tools for Unityを使った開発・デバッグ、Unityによるユニバーサル W...Microsoft × Unity - Visual Studio Tools for Unityを使った開発・デバッグ、Unityによるユニバーサル W...
Microsoft × Unity - Visual Studio Tools for Unityを使った開発・デバッグ、Unityによるユニバーサル W...Akira Onishi
 
ユニバーサル Windows アプリ開発
ユニバーサル Windows アプリ開発ユニバーサル Windows アプリ開発
ユニバーサル Windows アプリ開発Akira Onishi
 
クラウドを利用したWindows ストアアプリ開発 ~ Windows Azure と連携する ~
クラウドを利用したWindows ストアアプリ開発 ~ Windows Azure と連携する ~クラウドを利用したWindows ストアアプリ開発 ~ Windows Azure と連携する ~
クラウドを利用したWindows ストアアプリ開発 ~ Windows Azure と連携する ~Akira Onishi
 
Xamarin + Visual Studio によるマルチプラットフォーム対応アプリ開発 - iOS, Android, Windows に対応しよう
Xamarin + Visual Studio によるマルチプラットフォーム対応アプリ開発 - iOS, Android, Windows に対応しようXamarin + Visual Studio によるマルチプラットフォーム対応アプリ開発 - iOS, Android, Windows に対応しよう
Xamarin + Visual Studio によるマルチプラットフォーム対応アプリ開発 - iOS, Android, Windows に対応しようAkira Onishi
 
Unity on Windows 8.1
Unity on Windows 8.1Unity on Windows 8.1
Unity on Windows 8.1Akira Onishi
 
Windowsストアアプリ開発 オープンセミナー広島
Windowsストアアプリ開発 オープンセミナー広島Windowsストアアプリ開発 オープンセミナー広島
Windowsストアアプリ開発 オープンセミナー広島Akira Onishi
 
Windows Phoneの 企業内活用方法、 社内向けアプリ開発と展開
Windows Phoneの企業内活用方法、社内向けアプリ開発と展開Windows Phoneの企業内活用方法、社内向けアプリ開発と展開
Windows Phoneの 企業内活用方法、 社内向けアプリ開発と展開Akira Onishi
 
Web リソースを活用した簡単アプリケーション開発(Windows Phone)
Web リソースを活用した簡単アプリケーション開発(Windows Phone)Web リソースを活用した簡単アプリケーション開発(Windows Phone)
Web リソースを活用した簡単アプリケーション開発(Windows Phone)Akira Onishi
 

Mais de Akira Onishi (12)

OpenShift Ready、エンジニア視点によるデジタル変革への備え
OpenShift Ready、エンジニア視点によるデジタル変革への備え OpenShift Ready、エンジニア視点によるデジタル変革への備え
OpenShift Ready、エンジニア視点によるデジタル変革への備え
 
SAPPORO CEDEC 2014 Visual Studio Tools for Unity
SAPPORO CEDEC 2014 Visual Studio Tools for UnitySAPPORO CEDEC 2014 Visual Studio Tools for Unity
SAPPORO CEDEC 2014 Visual Studio Tools for Unity
 
Unite 2014 Seattle を踏まえて Unityゲーム開発 on Windows
Unite 2014 Seattle を踏まえて Unityゲーム開発 on WindowsUnite 2014 Seattle を踏まえて Unityゲーム開発 on Windows
Unite 2014 Seattle を踏まえて Unityゲーム開発 on Windows
 
Microsoft × Unity - Visual Studio Tools for Unityを使った開発・デバッグ、Unityによるユニバーサル W...
Microsoft × Unity - Visual Studio Tools for Unityを使った開発・デバッグ、Unityによるユニバーサル W...Microsoft × Unity - Visual Studio Tools for Unityを使った開発・デバッグ、Unityによるユニバーサル W...
Microsoft × Unity - Visual Studio Tools for Unityを使った開発・デバッグ、Unityによるユニバーサル W...
 
ユニバーサル Windows アプリ開発
ユニバーサル Windows アプリ開発ユニバーサル Windows アプリ開発
ユニバーサル Windows アプリ開発
 
クラウドを利用したWindows ストアアプリ開発 ~ Windows Azure と連携する ~
クラウドを利用したWindows ストアアプリ開発 ~ Windows Azure と連携する ~クラウドを利用したWindows ストアアプリ開発 ~ Windows Azure と連携する ~
クラウドを利用したWindows ストアアプリ開発 ~ Windows Azure と連携する ~
 
Vs xamarin
Vs xamarinVs xamarin
Vs xamarin
 
Xamarin + Visual Studio によるマルチプラットフォーム対応アプリ開発 - iOS, Android, Windows に対応しよう
Xamarin + Visual Studio によるマルチプラットフォーム対応アプリ開発 - iOS, Android, Windows に対応しようXamarin + Visual Studio によるマルチプラットフォーム対応アプリ開発 - iOS, Android, Windows に対応しよう
Xamarin + Visual Studio によるマルチプラットフォーム対応アプリ開発 - iOS, Android, Windows に対応しよう
 
Unity on Windows 8.1
Unity on Windows 8.1Unity on Windows 8.1
Unity on Windows 8.1
 
Windowsストアアプリ開発 オープンセミナー広島
Windowsストアアプリ開発 オープンセミナー広島Windowsストアアプリ開発 オープンセミナー広島
Windowsストアアプリ開発 オープンセミナー広島
 
Windows Phoneの 企業内活用方法、 社内向けアプリ開発と展開
Windows Phoneの企業内活用方法、社内向けアプリ開発と展開Windows Phoneの企業内活用方法、社内向けアプリ開発と展開
Windows Phoneの 企業内活用方法、 社内向けアプリ開発と展開
 
Web リソースを活用した簡単アプリケーション開発(Windows Phone)
Web リソースを活用した簡単アプリケーション開発(Windows Phone)Web リソースを活用した簡単アプリケーション開発(Windows Phone)
Web リソースを活用した簡単アプリケーション開発(Windows Phone)
 

CEDEC 2013 Unity on Windows 8