unity與手機相關吧

來源:互聯網
上載者:User

標籤:ugui   animation   手機   visual studio   unity3d   

轉載請註明出處:http://blog.csdn.net/u010019717

更全的內容請看我的遊戲蠻牛地址:http://www.unitymanual.com/space-uid-18602.html  ??

Windows Phone Application and Store Image,Icon Sizes 

Application Image Sizes

FlipCycleTileLarge -> 691×336
FlipCycleTileMedium -> 336×336
FlipCycleTileSmall -> 159×159
IconicTileMediumLarge ->134×202
IconicTileSmall -> 71×110
ApplicationIcon -> 100×100

SplashScreenImage->768×1280
SplashScreenImageLandscapeLeft->768×1280
SplashScreenImageLandscapeRight->768×1280
SplashScreenImagePortrait->768×1280
SplashScreenImagePortraitUpsideDown ->768×1280

Store Image Sizes

App Icon -> 300×300
Screenshot(8 adet gerekmektedir.) -> 1280×768
Promototional Background ->1000×800
Promototional Square Icon ->358×358
Promototional Wide Icon ->358×173

Debug Windows Phone Unity Codes    

Debug Windows Phone Unity Codes

1 – Build Visual Studio project for Windows Phone (File -> Build Settings -> Build).
2 – Open Generated Visual Studio Project.
3 – Click FILE -> Add -> Existing Project, navigate to Unity project folder and select Assembly-CSharp.csproj file.
4 – Go to BUILD -> Configuration Manager and make sure ARM platform is selected for your project.
5 – Optionally uncheck Build flag for Assembly-CSharp since it has already been built by Unity.
6 – Add breakpoint(s) to your script file(s).
7 – Make sure phone is connected to PC and Wphone Screen is unlocked.
8 – Make sure debugger type is set to Managed Only (default).
9 – Hit F5 to build, deploy, run and debug your app.

Unity Take Screenshot in Editor    

Take Screenshot in Unity3d


















using UnityEngine;using System.Collections;using System; public class ScreenShoter : MonoBehaviour{    public KeyCode screenShotKeyCode;    public string filePath;    void Update()    {        if (Input.GetKeyDown(screenShotKeyCode))        {            Application.CaptureScreenshot(string.Format("{0}\\ss_{1}x{2}_{3}.jpg",filePath,Screen.width,Screen.height,System.DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalSeconds));        }    }}

Unity3d First Android Build 

1)Install Jdk windows x86.You can download :JDK Download
2)Install Android SDK .You can find explanation : Android SDK
3)Create First Unity Project.
4)Connect to device
5)Unity -> File ->Build and Run .

First Project is Ready.

First IOS Build with Unity3d 

First IOS Build with Unity3d

1.1.Buy apple developer licence.
1.2.You need to be apple developer certificate = > http://www.youtube.com/watch?v=HlRI30F6-Ek
1.3.Plug your test device on Imac.
1.4.You need to add your test device(Iphone,Ipad) other way provisioning on an IOS Device => http://www.youtube.com/watch?v=mX4v9A2bpjs
1.5.Download xcode and setup.
1.6.Start unity and File ->click build and run

First Build is Ready.

??

unity與手機相關吧

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.