ãUnity8ãã¦ããã£ã¡ããã§ããã¯ãã³çãªæ¨ªã¹ã¯ãã¼ã«ã¢ã¯ã·ã§ã³ã²ã¼ã ä½æï¼ã横ã¹ã¯ãã¼ã«ã¦ããã£ã¡ãã1ã
Unity5.1.0f3 Personal(2015å¹´6æ)
ãã®ã³ã³ãã³ãã¯ããã¦ããã£ã¡ããã©ã¤ã»ã³ã¹ãã§æä¾ããã¦ãã¾ã
ä»åããã¯åå¿ã«æ»ãã¾ãã¦ãã¦ããã£ã¡ããã®2D横ã¹ã¯ãã¼ã«ã¢ã¯ã·ã§ã³ãä½ã£ã¦ãããã¨æãã¾ãã
ã¾ãã¯ã¦ããã£ã¡ãããç»é¢ã«è¡¨ç¤ºããã¨ããã¾ã§é²ãããã¨æãã¾ãã
ãç®æ¨ãã¦ããã£ã¡ããã表示ããã
â ã¦ããã£ã¡ããã®ã¤ã³ãã¼ã
ã¾ãã¯ã¦ããã£ã¡ããã®ç´ æãã¤ã³ãã¼ããã¾ããããç´ æã¯Unity道しるべæ§ã®ãµã¤ãã«æ²è¼ããã¦ãããã®ã使ãããã¦é ãã¾ãã
Unity-chan Dot(Co89)ããã±ã¼ã¸ããã¦ã³ãã¼ã
Projectãã¥ã¼ã¸ãã©ãã°ï¼ããããããImport
Spritesãã©ã«ããä½æãããã®ä¸ã¸ä¿åãã
â¡ã¦ããã£ã¡ããã®Pivotã®å¤æ´
ã¦ããã£ã¡ãããé
ç½®ããåã«ãã¦ããã£ã¡ããã®Pivot(軸)ãå¤æ´ãã¾ããããã©ã«ãã ã¨Centerã«ãªã£ã¦ããã®ã§ããããã®ã¾ã¾ã ã¨å°é¢ã¨ã®è¡çªå¤å®ããã¥ããã®ã§ãBottomã«å¤æ´ãã¾ãã
ç´ æã®ä¸ã®ãã¦ããã£ã¡ãã_å¾ æ©ããé¸æããInspectorã®Sprite Editorãé¸æãã¾ãã
Sprite Editoré¸æ
å·¦ä¸ã«ããSliceãæ¼ããTypeãGridãPixel Sizeã64 * 64ãPivotãBottomã«å¤æ´ããSliceãã¦ä¸ããã
ããã§Pivotã®è¨å®å®äº
ã¤ãã§ã«Filter ModeãPointã«ãã¦ããã¾ããããPointã«ãããã¨ã§ããããçµµã綺éºã«è¡¨ç¤ºããã¾ãã
Filter Mode: Point
Pivotã®å¤æ´ã¯ãã¦ããã£ã¡ãã_å¾ æ©ã以å¤ã®å ¨ã¦ã®ç´ æã«å¯¾ãã¦ãã£ã¦ããã¦ä¸ããã
â¢ã¦ããã£ã¡ãããé
ç½®ãã
ç¶ãã¦ã¦ããã£ã¡ãããé
ç½®ãã¾ããã¦ããã£ã¡ãã_å¾
æ©_0ã7ã¾ã§ãä¸æ¬é¸æããHierarchyãã¥ã¼ã¸ãã©ãã°ï¼ãããããã¦ä¸ããã
ãã©ãã°ï¼ããããï¼
ããã¨ã¢ãã¡ã¼ã·ã§ã³ã®ã¤ããã¦ããã£ã¡ãããã²ã¼ã ç»é¢ã«ç¾ãã¾ããã²ã¼ã ãåçããã¨åãã¾ãã
å¾
æ©ã¢ãã¡ã¼ã·ã§ã³ãããã¦ããã£ã¡ããå®æ
å¾ æ©ã¢ãã¡ã¼ã·ã§ã³ãç´ æã®ãã©ã«ãå ã«ä¿åããã¦ããã¨æãã®ã§ãååããWait@Playerãã«å¤æ´ããAnimationsãã©ã«ããä½æãã¦ãã®ä¸ã«ä¿åãã¦ä¸ããã
ã¾ããã¢ãã¡ã¼ã·ã§ã³é·ç§»ãã³ã³ããã¼ã«ããAnimatorControllerãç´ æãã©ã«ãã®ä¸ã«ä¿åããã¦ããã®ã§ãååããPlayerãã«å¤æ´ããAnimatorControllersãã©ã«ããä½æãã¦ãã®ä¸ã«ä¿åãã¦ä¸ããã
æå¾ã«ããã2ã¤ã®ãã©ã«ãããæ°è¦ä½æããAnimationsãã©ã«ãã®ä¸ã«ä¿åãã¾ããè¨èã ã¨åããã¥ããã®ã§ãä¸ã®ç»åãåèã«ãã¦ä¸ããã
ãã®ãããªé層ã§ä¿åããã¨ç®¡çãããã
ä»åã¯ããã¾ã§ã§ãã
ãããã¨ããããã¾ããã
ãUnityéçº8ãã¦ããã£ã¡ãããæ©ãããã横ã¹ã¯ãã¼ã«ã¦ããã£ã¡ãã2ã
ãUnityéçº8ãå¼¾ãå½ã¦ã¦æµãåãã横ã¹ã¯ãã¼ã«ã¦ããã£ã¡ãã7ã