Unity
ã¨ãã£ã¿ã¼æ¡å¼µå ¥éã2015å¹´ã®å¤ã³ãã§è²©å£²éå§ãã¦ãã7ã¶æãéãã¾ããã anchan828.github.io æè¿ã®å£²ä¸ã«ã¤ãã¦èªãã¨ãä»ã¾ã§ã§700é¨ã»ã©å£²ãã¾ãããä»ã¯1æ¥ã«1é¨ã¯å£²ãã¦ãã¾ãã 売ä¸ã¹ãã¼ããéåãã¦ãã¦ããä»ãå¿ è¦ã¨ãã¦ãã人ãã¡ã«ã¯ããâ¦
ãããªãµãã«EditorWindowã¾ããã¨ã¹ã¯ã·ã§ãæ®ã 表示ããã¦ããEditorWindowå ¨é¨ã¹ã¯ã·ã§ ScreenCapture.Capture<EditorWindow> (); 表示ããã¦ããHogeWindowã¹ã¯ã·ã§ ScreenCapture.Capture<HogeWindow> (); ãªããEditorWindow.positionãããã¦ãå¤æã£ã¦ãæããããã ãã©ãªã</hogewindow></editorwindow>â¦
æ¤è¨¼ã§è©¦ããã³ã¼ã Unity4.5ã§ã¯asyncOperation2.progressã¯0ãè¿ãç¶ãããã©ãUnity5ã ã¨0.9ãè¿ãã using UnityEngine; using System.Collections; public class NewBehaviourScript : MonoBehaviour { AsyncOperation asyncOperation1; AsyncOperationâ¦
ãããªæãã«ãªãã®ããªã¼
SerializedObjectçµç±ã§è¨å®ãããã¨ãå¯è½ã§ãã ããããã£å iPhoneSplashScreen iPhoneHighResSplashScreen iPhoneTallHighResSplashScreen iPhone47inSplashScreen iPhone55inPortraitSplashScreen iPhone55inLandscapeSplashScreen iPadPortraitSplashâ¦
[注æ1] ããã¯ããã¥ã¡ã³ãã«ç¡ããæ¨å¥¨ããã¦ããªã使ãæ¹ã§ãã [注æ2] DLLãæ±ãæ¹æ³ãã調ã¹ã¦ã¾ããã Module Managerã£ã¦ï¼ Add-Onç³»ã®ããã±ã¼ã¸ï¼AndroidãiOSãWebGL...ï¼ãä»å¾ã¢ã¸ã¥ã¼ã«ã¨ãã¦ç®¡çãã¾ãããã¨ãããã¨ã§å®è£ ãããæ©è½ ã ãã©â¦
ä»ã¾ã§ã¯ãPluginsãã©ã«ããAssetsãã©ã«ãç´ä¸ã«ãªãã¨ãããªããä»æ§ã§ãããããã«ããä½æãããã©ã°ã¤ã³ã®ã¢ã»ããã1ã¤ã®ãã©ã«ãå ã«åã¾ããããã«å°ãæ®å¿µãªæ°æã¡ã«ãªã£ããã®ã§ãã "Assets/Plugins/iOS/SocialConnector.mm" 㨠"Assets/SocialCâ¦
{Unityããã¸ã§ã¯ãROOT}/Library/ScriptAssembliesãè¦ãã CompilationCompleted.txtããªããã°ã³ã³ãã¤ã«ä¸ãããã°ã³ã³ãã¤ã«å®äºæ¸ã¿ã
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã ã¾ã¨ãã¦ç·¨éï¼åã¤ã³ãã¼ãã«ä½¿ç¨ãã ã¤ã³ãã¼ãä¸ã«ãã¤ã¢ãã°ã表示ãããã®ã«ã¯ãEditorUtility.Disâ¦
ä½åº¦ããMove Upãã¨ãæ¼ãã¾ããã®ç²ããã®ã§ä½ã£ã¦ã¿ã Github - https://github.com/anchan828/ComponentOrderAttribute ã³ã³ãã¼ãã³ãã®ãMove UpããMove Downããã³ã¼ãã§èªå管ç ComponentOrderAttribute ComponentOrderAttribute(uint order) æå®â¦
Unity.app/Contents/Resources/ScriptTemplatesã«ãããã³ãã¬ã¼ããã¡ã¤ã«ã«èªç±ã«Replaceã§ãããã¼ã¯ã¼ãã追å ãã ããã©ã«ãã§ãµãã¼ãããã¦ããã®ã¯ key 説æ #NAME# æ¡å¼µåãªãã®ãã¡ã¤ã«åã«å¤æ #SCRIPTNAME# åè§ã¹ãã¼ã¹ç¡ãã§æ¡å¼µåç¡ãã®ãã¡â¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã ã¹ã¯ãªãããã¡ã¤ã«ãçæããæã«å¼ã³åºãããOnGeneratedCSProjectFiles ããã¥ã¡ã³ãåããã¦ãªããã©â¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã spriteExtrudeã1ã®æ spriteExtrudeã16ã®æ
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ã¸ã®å¯¾çã¯ããããï¼ Unityã®ããã©ã«ãè¨å®ã§ãã®ã¾ã¾ Stripping Level ããSâ¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã Caching.readyã¨LoadFromCacheOrDownload ãLoadFromCacheOrDownloadã使ã£ã¦ããã®ã«ãã£ã·ã¥ãããªãï¼â¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã propertyNameãç¥ãã«ã¯ SpriteRendererã®Colorãæä½ãããæã¯ä¸è¨ã®ã³ã¼ãã§ãã Colorã§ã¯ãªãm_Coloâ¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã ã¨ãã£ã¿ã¼ã¹ã¯ãªããï¼CustomEditorãPropertyDrawerï¼ãããã§ã¤ã³ã¹ãã¯ã¿ã¼ä¸ã§å¤ãå¤æ´ããæã®ã³ã¼â¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã TextFieald -> Button ã®ã¨ãããã¿ã³ãæ¼ãã¦ãTextFieldã«ãã©ã¼ã«ã¹ãå½ãã£ãã¾ã¾ã«ãªã GUI.FocusCoâ¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã SpriteãSpritePackerã«ãã£ã¦Atlasåããã¦ããå ´åã¯trueãè¿ãã¾ãã SpritePackerã®ä½¿ãæ¹
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã ã¿ã°ã¯ãããOnTriggerEnterããªã©è¡çªã¤ãã³ãã®æã«ä½¿ç¨ããã¾ãã ã¿ã°ã§GameObjectãå¤æããæãGamâ¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã Colliderã®é ç¹ãç·¨éãã ã³ã³ãã¼ãã³ããã¢ã¿ããããã ãã§ã¯ãã®ããã«éãªã³ã©ã¤ãã¼ã«ãªã£ã¦ãã¾â¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã 使ãæ¹è¯ããããããã£ãã®ã§ã¡ã¢ é¸æããããªãã¸ã§ã¯ããåå¾ããã«ã¯ EditorGUIUtility.GetObjectPiâ¦
ãã®æ å ±ã¯Unity Documentation Tabsã§ãé²è¦§ãããã¨ãåºæ¥ã¾ã Unity Documentation Tabsã§é²è¦§ããå ´åã®URLã¯ãã¡ãï¼ENï¼ã¾ãã¯ãã¡ãï¼JPï¼ã§ã ãããã®TIPSã¸ããããï¼ ããã§ã¯ç§ã®åå¿é²çãªæ å ±ãè¨è¼ãã¦ããã¾ãã ããã«ãªããã¨ã ã£ãããã©â¦
Animatorã®Stateãªã©ã«ãããé åã®ä½ç½®ãèªç±ã«ç§»åããããã¨ãåºæ¥ããã®ããReorderableListãã¨ããããã§ãã ããã使ããã便å©ãªãã ãã©ãªã¼ã¨ãããã¨ã§é å¼µã£ã¦ã¿ã¾ããã ã¾ã ä¸ååãªã®ã§è¿ããã¡ã«ä½ãçµããã¤ããã
GameViewã«ä»»æã®ã¢ã¹ãã¯ãã»è§£å度追å ã«ã¹ã¿ã ã§è¿½å ããããã®ã¯ãProjectSettings/GameViewSize.assetãã«ä¿åããã¦ãã ããã ãã§ã¯ç¡ããè¤æ°ã®GameWindowãçæããæãããããç¬ç«ããã¢ã¹ãã¯ãã»è§£å度ãæå®ã§ããããã«ãªã£ãï¼ããã¾ã§ã¯â¦
Unity4.2.0ãå ¬éããã¾ããããªãªã¼ã¹ãã¼ããè¦ã¦ããããã°ãããã¾ãããã¨ã«ããæ°ãå¤ãã§ãã420åè¿ãããã¾ãã ãªã®ã§ãã¨ãããããç®çãã¨æã£ããã®ããªã¹ãã¢ãããã¾ã (â©Â´âï½)â©ï¾ï½°ï½² Windows Store Appsï¼ä»¥ä¸ãWSAãx86 㨠ARM ã®ä¸¡æ¹ã«å¯¾å¿â¦
ã¢ã¤ã³ã³ã¨ããããªã¢ã«ã¨ããã¼ã£ã±ã EditorGUIUtility.GetEditorAssetBundleã§åå¾ã§ãã å®ã¯EditorGUIUtility.Loadã¯ãã®AssetBundleãããã¼ããã¦ããããã 使ãæã¯ãããªæã Texture2D icon = EditorGUIUtility.Load ("Icons/Generated/PrefabNorâ¦
Animatorã¦ã£ã³ãã¦ã®èæ¯ã¨ããStateMachineãã£ãããã§ãããã ãã®èæ¯ã¨StateMachineã使ã£ã¦Editoræ¡å¼µãããã§ãããã ãããå®ã¯èªåã§ä½ãã¾ããAPIãç¨æããã¦ãã¾ãã UnityEditor.Graphs UnityEditor.Graphsãããã§ã èæ¯ã®è¡¨ç¤º è¦ã¦æ¬²ããâ¦
ãªãã¸ã§ã¯ãå/ ã¢ã»ããå ã§æ¤ç´¢ ã©ãã«ã§æ¤ç´¢ åç §å ã§æ¤ç´¢ ã¤ã³ã¹ã¿ã³ã¹IDãã¾ãã¯ã¢ã»ããã®ãã¹ã§æ¤ç´¢å¯è½ãã¢ã»ããã®ãã¹ã®å ´åå¿ ã""ãã¤ããããã«ãããï¼ã¹ã¯ãªããã®å ´å""ããªãã¦ãåé¡ãªããæ··ä¹±ãé¿ããããï¼ ãFind References In Sceneâ¦
æ¨æºã§ãEdit Scriptããããã®ã§ãEdit CustomEditor Scriptãã追å ãã¦ã¿ã¾ããã 課é¡ã¯EditorScriptããªãå ´åã¯ã³ã³ããã¹ãã¡ãã¥ã¼ã«é ç®ãåºããªããã¨ã