2014-07-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¡ã¿ã«ã®ã¢ã©ã¤ã¸ã³ã°ãè¦ã¦ãã¦ãã¢ãã«ãã¹ãã¹ãã£ã¨åããããªã£ãã®ã§ä½ã£ã¦ã¿ãã 大ä½ãããªæãã«ãªãã ãã¦ããããå ¬éãã¦ãã¤é¡ãããã¨æã£ããããµã¨æã£ã¦AssetStoreæ¢ãããåãæ©è½ãæã£ãã¢ã»ãããç¡æã§ãã£ãã åçãåããã®ããã â¦
æ°æ¿ tsubakit1.hateblo.jp æ§ç Unityã使ã£ã¦ããã¨ããã¾ã«å½±ãæ±ã表示ãããäºããããä¾ãã°ä»¥ä¸ã®æ§ãªæããããã¯æ¥µç«¯ãªä¾ã ããããªãããããã¯èª¿ã«ãªããã¨ãããã±ããçã ããããã£ãç¹å¾´ãåºãã 対ç 1ã¤ã¯ãå½±ãçæãã¦ããLightã³ã³ãã¼â¦
ç®æ¬¡ ç®æ¬¡ UnityPackageã«ã¤ã㦠GUIDãåç §é¢ä¿ãèªåçã«è§£æ±º ãã¡ã¤ã«ãåãã¦ãåç §ãç¶æ é¢é£ UnityPackageã«ã¤ã㦠Unityã®export packageã¯ä¾¿å©ã§ããunity packageã¯metaãã¡ã¤ã«ããã®ã¾ã¾ç¶æ¿ããäºãã§ãã¾ãã metaãã¡ã¤ã«ã«ã¯ãã¡ã¤ã«ã®GUID*â¦
ææãé ããã®ã§è£è¶³è¨äºã https://twitter.com/dracounix/status/492830807321354240 ããããã°Editor.OnSceneGUIå ã«å¦çãè¨è¿°ããäºã§ãã·ã¼ã³å ã«GUIãè¨è¿°åºæ¥ã¾ãã ããæ¹ã¯ä»¥ä¸ã®ã¨ããã Editorãã©ã«ã以ä¸ã«Editorã¯ã©ã¹ãç¶æ¿ããCustomEditâ¦
Unityã®ã·ã¼ã³ãã¥ã¼ã¸ç·ã¸ãªãã¸ã§ã¯ãã®å½±é¿ç¯å²çãè¨è¼ããå ´åãDebug.LineãGizmoã§è¡ãã¾ãã ãã®æ´¾çã§ãã·ã¼ã³ãã¥ã¼ã¸æååã表示ãããå ´åãè¥å¹²é¢åã§ããOnDrawGizmosãOnDrawGizmosSelectedã³ã¼ã«ããã¯å ã§Handle.Labelã使ç¨ãã¾ãã Hanâ¦
è¨æ£ï¼Androidç¨ã®è¨¼ææ¸ãä½ã ãã®1ã®éããAndroidã®ã¢ããªã±ã¼ã·ã§ã³ãGooglePlayã¸ãããªãã·ã¥ããããã«ã¯Keystoreã§è¨¼ææ¸ãä½ãå¿ è¦ãããã¾ãã Unityã§ãä¾å¤ã§ã¯ãªããUnityã§ã¢ããªãåºåãæåºããéã«ã¯å¿ ã証ææ¸ãä½ãå·¥ç¨ãçºçãã¾ãã â¦
ScriptableObjectã¨ã¯ä½ãã¨è²ã ã¨æ©ãã§ãã¾ããããçãã¯ç°¡åã§ããããã¼ã¿ãæ ¼ç´ãããªãã¸ã§ã¯ãã§ããããå°ãè¨ãã°ãUnityããã¼ã¿ãã·ãªã¢ã©ã¤ãºã»ãã·ãªã¢ã©ã¤ãºããã©ã¡ã¼ã¿ãæ ¼ç´ããããã®ä»çµã¿ã§ããè²ã ãªäºãåºæ¥ãå²ã«ç¨éãåããã«ããâ¦
Unity 4.5ããæ¨æºPropertyDrawerã¨ãã¦Headerã¨Spaceã追å ããã¦ã¾ããã 使ãæ¹ Headerã¯ãInspectorã«ãããã¼ã追å ãã¾ãããã®Headerã追å ããã«ã¯ãå¤æ°ã®åã«ä»¥ä¸ã®ããã«è¨è¿°ãã¾ãã [Header("ãããã¼å")] public int hp; Spaceã¯ã¤ã³ã¹ãã¯ã¿â¦
å æ¥ãæ ç»é¤¨ã§ãAll you need is killãã®æ ç»ãè¦ã¦ãã¾ããã çµè«ã¨ãã¦é¢ç½ãã£ããã¾ãè¦ããã è¥å¹²ãã¿ãã¬æ³¨æ
Unity 5 ã§ä½¿ããªããªãã£ã½ãã§ãããªã®ã§ã³ãããç´¹ä»ãã¾ãã Unityã®AnimationClipãã¬ã¬ã·ã¼ã¢ãã¡ã¼ã·ã§ã³ã«è¨å®ãã - ãã©ã·ã¥ã¼ã«ããã° Unityã®AnimationClipãã¬ã¬ã·ã¼ã¢ãã¡ã¼ã·ã§ã³ã«è¨å®ãã - ãã©ã·ã¥ã¼ã«ããã° Mecanimã§ä½¿ç¨ããAnimationâ¦
ç®æ¬¡ ç®æ¬¡ 3ã¤ã®åº§æ¨ç³» ã¹ã¯ãªã¼ã³åº§æ¨ ã¯ã¼ã«ãåº§æ¨ ãã¥ã¼ãã¼ãåº§æ¨ å座æ¨ç³»ã使ç¨ããã±ã¼ã¹ã¨å¤æ WorldToViewportPoint ScreenToWorldPoint ViewportToWorldPoint é¢é£ 3ã¤ã®åº§æ¨ç³» Unityã®ä½¿ç¨ããã«ã¡ã©ã§ã¯ã3ã¤ã®åº§æ¨ç³»ãããã¾ããããªãã¡ãã¹â¦
ãã³ã¹ã³ã¨ã¯ããã³ãã¼ã«ã§Oculus Riftã®ãã¬ã¼ã é¨åãä½ã£ãç©ã ãç©ããã³ãã¼ã«æ ã«é常ã«å®ä¾¡ï¼1000åï¼ã§è³¼å ¥ã§ãã¦ããã軽ãã Oculus Riftã§è¨ãã¨äºã®ãã£ã¹ãã¬ã¤ç»é¢ã¯ã¹ãã¼ããã©ã³ã§ä»£ç¨ããã æ£ç´ãªæããã®ã¬ã¸ã§ããã¯ï¼ç´ æããã³ãã¼â¦
ä»åã¯FC2ãããããããã°ã¸å¤§ä½600åè¿ãè¨äºã®å¤§ç§»åãããã¾ãããã¨ã¯è¨ããæã£ã¦ããããå§åçã«ç°¡åã«åºæ¥ãã®ã§ãå²ã¨å©ããã¾ããã ä»æ¥ã¯FC2ãããããã¸ç§»è¡ããæ¹æ³ãã¡ã¢ãã¦ããã¾ãã 以ä¸ã®URLãåèã«ãã¾ããã FC2ããã°ããã¯ã¦ãªãâ¦
ããã«ã¡ã¯ tsubaki_t1 ã§ãã æ®å¿µãªãããã©ã·ã¥ã¼ã«ã¦ã§ã¢ããã°ã¯ééï¼è¿æ¥ä¸ã«åé¤ï¼ããäºã«ãªã£ããããä½ã¨ãUnityã®è¨äºã¯æ®ããã¨ããã®ãããªå½¢ã§ããã°è¨äºã丸ãã¨ç§»è¡ããå½¢ã¨ãªãã¾ããã ä»å¾ã¯Unityé¢é£ã®è¨äºã¯ãã©ã·ã¥ã¼ã«ã¦ã§ã¢ããã°â¦
ç©çæ¼ç®çã«ã¯æ£ãããªãã¨ãã表ç¾çã«ç©ä½ãã¶ã¤ãã£ãæã«ãµã£ã¨ã°ãã®ã¯ããããäºã ãã¾ãçå¼¾çã§ãµã£é£ã°ãããå ´åãããããããªæã¯ãå¨å²ã®ã³ã©ã¤ãã¼ãå ¨é¨æã£ã¦ãã¦ããã®ä¸ã§rigidbodyããããªãã¸ã§ã¯ãã«å¯¾ãã¦AddForceãå®è¡ãã¿ãããªäºâ¦
ã²ã¼ã ãä½ãä¸ã§ã¹ãã¼ã¢ã¼ã·ã§ã³ãè¡ããããªãã±ã¼ã¹ãããã ãã®å ´åã¯Unityã§ã¹ããããã¹ãã¼ã¢ã¼ã·ã§ã³ã»æ©éããå®ç¾ããã«ã¯ã®ããã«ãTime.timescaleã§æéãåæ¢ã»å éããã¦ãã¾ãã®ã¯æã£åãæ©ããå°ãªãã¨ãAnimationã§æåãå¶å¾¡ãã¦ããå ´â¦
æè¿Unityã¯ãã¡ã¸ã£ã¼ã¢ãããã¼ãï¼4.xxã(5.xxçã )ããããã¤ãã¼ã¢ãããã¼ãï¼4.1.x ã 4.2.xçã ï¼ãã®ä»ã«ããããã¢ãããã¼ããæä¾ãã¦ããã¿ããã§ãããã®ãããã¢ãããã¼ãã§ã¯ãåªå 度ãããç¨é«ããªãå è¡ãã¦è©¦ãã¦ããããããããªå 容ãâ¦
nçªç ãã§ãããUnity/åºæ¬å½¢/025 ç»é¢ã®ã¢ã¹ãã¯ãæ¯ãåºå®ã«ãã ã Unity ãã®ã¢ã¹ãã¯ãæ¯ãåºå®ãããã»ã»ã»ã£ï¼ ãåèã«ã¢ã¹ãã¯ãæ¯çãåºå®ããã¹ã¯ãªãããä½æãããä»ã¨éãã®ã¯ãèæ¯ãå¡ãã¤ã¶ãããã®ã«ã¡ã©ã®é ç½®ãèªååãã¦ããç¹ã ãã§ãâ¦
GameObject.Find ç³»é¢æ°ã®å¦çé度ã®æ¤è¨¼çµæãåãã¦ãã·ã³ã°ã«ãã³ãè¦ãªãããããã®è¨äºã¯ã以ä¸ã®è¨äºã®ç¶ãã [Unity3D]ãã£ã¨æ¥½ãªã·ã³ã°ã«ãã³ã®å®è£ [Unity3D]ã·ã³ã°ã«ãã³ãªãªãã¸ã§ã¯ããä½ã試ããã®ã¯ãªãã¸ã§ã¯ããtagããæ¤ç´¢ããäºã§é«éåãâ¦
ã©ãã @tsubaki_t1 ã§ãã ã³ã¡ã³ãæ¬ã«ããã±ã¢ã³ã®ãããªRPGã®ãµã³ãã«ã¨ãªãã³ã¼ãã»ã¢ã»ãããããã°ç´¹ä»ãã¦æ¬²ãããæ¨ã®ã³ã¡ã³ããæ¥ã¦ããã®ã§ãå°ãæ¢ãã¦ã¿ã¾ãã ã¾ãããã±ã¢ã³ã®ãããªRPGãã«ã¤ãã¦å°ãèãããã¡ãªã¿ã«èªåã®ç¥èã¯ã赤ã»ç·ãâ¦
ããããåä½ã®ç§»åããªãç©ã«ã¤ãã¦Twitterã«ã¦è©±é¡ããã£ãã®ã§ ããæ¹ãæ¸ãã¦ãããã¨æããä»åã¯ãã¬ã³ããªã³ã°ç´åã«ãããçµµçã«ä¸éå端ãªä½ç½®ã«ãããªãã¸ã§ã¯ãã®ä½ç½®ãè£æ£ããã¬ã³ããªã³ã°å¾ã«å ã«æ»ãæ¹æ³ãç´¹ä»ããã ç»é¢å·¦ã¯ã¹ã ã¼ãºã«åãâ¦
æå¤ã¨ç¥ããã¦ããªããã¨ã ããã·ã¼ã³ãã¥ã¼ãããªãã¸ã§ã¯ããé¸æä¸å¯ã«ããæ¹æ³ã¯ï¼ã¤ãããä¸ã¤ç®ã¯HierarchyViewããé表示ã«ãã¦ãã¾ããã¨ãä¾ãã°LockObjectã®ããã«ãã¢ã¿ãããããªãã¸ã§ã¯ãã®åãªãã¸ã§ã¯ããé表示ã«ããäºã§ãç¹å®é層ããä¸â¦
ãã¬ããã¨ãã¦ãªãã¸ã§ã¯ããä½æããã«ã¯ã以ä¸ã®ããã«ã³ã¼ããè¨è¿°ãã¾ãã#if UNITY_EDITOR var tile = UnityEditor.PrefabUtility.InstantiatePrefab(prefab.gameObject) as GameObject; #else var tile = Instantiate(prefab.gameObject) as GameObjeâ¦
ç¡æã®ã¿ã¤ã«ããããå°å³ã«ãããã£ããAutoTileSetã¯ãã¿ã¤ã«ããããä½ãæãã®ã¢ã»ããã ã AutoTileSetAutoTileSetï¼AutoTileSetManagerï¼ãé¸æä¸ã«ç»é¢ã«ã¿ã¤ã«ã表示ãããã®ã§ããã®ã¿ã¤ãã³ã°ã§ç»é¢ãã¿ããããã¨ç»é¢ã«ã¿ã¤ã«ãç½®ãããè¶ ã·ã³ãâ¦