ºÇ½ª¹¹¿·¡§ orika_ex_miyako 2024ǯ11·î29Æü(¶â) 12:03:12ÍúÎò
¡¡Projects ¤Î ¡Ü ¥Ü¥¿¥ó¡¢¤ª¤è¤Ó±¦¥¯¥ê¥Ã¥¯¤Ç¼Â¹Ô¤Ç¤¤ë¥á¥Ë¥å¡¼¥³¥Þ¥ó¥É¤¬ºþ¿·¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¡¡¿·µ¬¤Î¥¹¥¯¥ê¥×¥ÈºîÀ®ÊýË¡¤Ç¤¹¤¬¡¢¾åµ¤Î¥á¥Ë¥å¡¼Æâ¤è¤ê C# Script ¤È¤¤¤¦¥³¥Þ¥ó¥É¤¬¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿¤Î¤Ç¡¢
¥³¥Þ¥ó¥É¾åÉô¤Ë¤¢¤ë MonoBehaviourScript ¤òÁªÂò¤¹¤ë¤«¡¢
¤¢¤ë¤¤¤Ï¡¢Scripting ¤òÁªÂò¸å¡¢Ê£¿ô¤¢¤ë¥Æ¥ó¥×¥ì¡¼¥È¤«¤éÁªÂò¤¹¤ë·Á¤ËÊѹ¹¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¡¡½¾ÍèÄ̤ê¤Î C# Script ¤Ç¤¢¤ì¤Ð¡¢MonoBehaviourScript ¤ÇºîÀ®¤·¤Æ¤¯¤À¤µ¤¤¡£
¡¡Empty C# Script ¤òÁªÂò¤¹¤ì¤Ð¡¢MonoBehaviour ¤ò·Ñ¾µ¤·¤Æ¤ª¤é¤º¡¢Start ¥á¥½¥Ã¥É¤Ê¤É¤â¤Ê¤¤¥Ô¥å¥¢¤Ê C# ¥¹¥¯¥ê¥×¥È¤ò¿·µ¬ºîÀ®¤Ç¤¤Þ¤¹¡£
¡¡RenderTexture¡¢Physics Material2D ¤Ê¤É¡¢Ã±ÆȤǥ³¥Þ¥ó¥É¤¬Â¸ºß¤·¤Æ¤¤¤¿¤â¤Î¤Ë¤Ä¤¤¤Æ¤Ï¡¢ÂçÊ̤µ¤ì¤Æ¡¢¤½¤ÎÃæ¤Ë´Þ¤Þ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
3D ÍѤΠPhysics Material ¤ÏñÆȤΤޤ޻ĤäƤ¤¤Þ¤¹¡£
Rendering ¢ª Material¡¢RenderTexture ¤Ê¤É
Animation ¢ª Animator Override Controller ¤Ê¤É
2D ¢ª Physics Material2D ¤Ê¤É
¡¡Build Settings ¥³¥Þ¥ó¥É¤¬¤Ê¤¯¤Ê¤ê¡¢Âå¤ï¤ê¤Ë Build Profiles ¤ËÊѹ¹¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¡¡¤³¤Á¤é¤Î¥ì¥¤¥¢¥¦¥È¤â PackageManager ¤Î¤è¤¦¤Ê¹½À®¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
¡¡SceneList ¤Ë¤Ï Build ÂоݤΠScene ¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¤³¤Á¤é¤Ï³Æ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤´¤È¤Ë¤âÀßÄê²Äǽ¤Ç¤¹¡£
¡¡Active ɽ¼¨¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤¬ÁªÂòÃæ¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ë¤Ê¤ê¤Þ¤¹(°ÊÁ°¤Î Unity ¥¢¥¤¥³¥ó¤Ï¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿¡£)
PlayerSettings ¤Ï¥¦¥¤¥ó¥É¥¦Æâ¤Î±¦¾å¤Ë¤¢¤ê¤Þ¤¹¡£
¡¡Rigidbody/Rigidbody2D ¤ÎÁÐÊý¤Ë¤ª¤¤¤Æ velocity ¥×¥í¥Ñ¥Æ¥£¤¬ÇѻߤȤʤꡢƱ¤¸µ¡Ç½¤È¤·¤Æ linearVelocity ¥×¥í¥Ñ¥Æ¥£¤¬Äɲ䵤ì¤Þ¤·¤¿¡£
maxLinearVelocity ¥×¥í¥Ñ¥Æ¥£¤Ï¤½¤Î¤Þ¤ÞÍøÍѤǤ¤Þ¤¹¡£
¡¡½¾Íè¤è¤ê velocity(ľÀþ®ÅÙ) ¤È angularVelocity(²óž®ÅÙ)¤Ëʬ¤«¤ì¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¤½¤ì¤ò̾¾ÎŪ¤Ë¤ï¤«¤ê¤ä¤¹¤¯¤¹¤ë¤¿¤á¤ÎÊѹ¹¤Î¤è¤¦¤Ç¤¹¡£
Unity 2022.3
https://docs.unity3d.com/2022.3/Documentation/Scri...
Unity 6000.0
https://docs.unity3d.com/6000.0/Documentation/Scri...
¡¡Æ±ÍÍ¤Ë angularDrag ¥×¥í¥Ñ¥Æ¥£¤¬Çѻߤµ¤ì¤Æ¡¢angularDamping ¥×¥í¥Ñ¥Æ¥£¤Ë̾¾Î¤¬Êѹ¹¤È¤Ê¤ê¡¢
drag ¥×¥í¥Ñ¥Æ¥£¤¬Çѻߤµ¤ì¤Æ¡¢LinearDamping ¥×¥í¥Ñ¥Æ¥£¤Ë̾¾Î¤¬Êѹ¹¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¡¡¤³¤ì¤é¤Î̾¾ÎÊѹ¹¤Ëȼ¤¤¡¢API ¤ÎÊѹ¹¤¬È¯À¸¤·¤Æ¤¤¤Þ¤¹¡£
¤½¤Î¤¿¤á¡¢6000 °ÊÁ°¤Î API ¤ÇµºÜ¤µ¤ì¤Æ¤¤¤ë¥½¡¼¥¹¥³¡¼¥É¤Î´Þ¤Þ¤ì¤Æ¤¤¤ë¥¢¥»¥Ã¥È¤ò¥¤¥ó¥Ý¡¼¥È¤·¤¿¤ê¡¢
¼«ºî¥¯¥é¥¹Æâ¤Ë¤³¤ì¤é¤Î API ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤È¡¢¥¨¥Ç¥£¥¿¡¼µ¯Æ°»þ¤Ë API Êѹ¹¤Î¥Ý¥Ã¥×¥¢¥Ã¥×¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
¡¡API Êѹ¹¤ò¼Â»Ü¤¹¤ë¤³¤È¤Ç¡¢ velocity ¥×¥í¥Ñ¥Æ¥£¤Ï¼«Æ°Åª¤Ë linearVelocity ¥×¥í¥Ñ¥Æ¥£¤Ë¡¢¤½¤ì°Ê³°¤Î¤â¤Î¤âÂбþ¤¹¤ë¥×¥í¥Ñ¥Æ¥£Ì¾¤ËÃÖ¤´¹¤ï¤ê¤Þ¤¹¡£
¡¡¤³¤Á¤é¤Î API Êѹ¹¤ËÂбþ¤·¤Ê¤¤¤È¥¨¥é¡¼¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢½¾Íè¤Î¥×¥í¥Ñ¥Æ¥£Ì¾¤Çµ¡Ç½¤ò·Ñ³¤·¤¿¤¤¾ì¹ç¤Ë¤Ï [System.Obsolute] °À¤òÉÕÍ¿¤·¤Æ¤¯¤À¤µ¤¤¡£
¡¡Rigidbody2D ¤Î¤ß¤ÎÊѹ¹¤È¤·¤Æ¡¢inKinematic ¥×¥í¥Ñ¥Æ¥£¤¬ÇѻߤȤʤê¤Þ¤·¤¿¡£
¸µ¡¹¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤Ë¤Ïɽ¼¨¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¤¬¡¢¥×¥í¥Ñ¥Æ¥£¼«ÂΤ¬¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿¡£
¡¡¤Þ¤¿ linearVelocityX ¥×¥í¥Ñ¥Æ¥£¤È linearVelocityY ¥×¥í¥Ñ¥Æ¥£¤¬Äɲ䵤ì¤Þ¤·¤¿¡£
¤³¤Á¤é¤òÍøÍѤ¹¤ë¤³¤È¤Ç¤¤¤º¤ì¤«¤ÎÀ®Ê¬¤Î¤ß»²¾È¤ÈÊѹ¹¤¬²Äǽ¤Ç¤¹¡£
Rigidbody2D.linearVelocityX
https://docs.unity3d.com/6000.0/Documentation/Scri...
Rigidbody2D.linearVelocityY
https://docs.unity3d.com/6000.0/Documentation/Scri...
Rigidbody2D.linearDamping
https://docs.unity3d.com/ScriptReference/Rigidbody...
Unity 2022.3
https://docs.unity3d.com/ja/2022.3/ScriptReference...
Unity 6000.1
https://docs.unity3d.com/6000.0/Documentation/Scri...
¡¡Âбþ¤¹¤ë Unity ¤Î¥ê¥ê¡¼¥¹¡¢¤¢¤ë¤¤¤Ï¥¢¡¼¥«¥¤¥Ö¥µ¥¤¥È¤Ø°ÜÆ°¤·¡¢
Other installs ¤Î±¦Â¦¤Ë¤¢¤ë ¡Ü ¥Ü¥¿¥ó¤ò²¡¤·¤ÆÆâÍƤòɽ¼¨¤·¤Þ¤¹¡£
¡¡¤½¤ÎÃæ¤Ë¤¢¤ë Shaders ¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤Ç¡¢Unity ¤¬¥Ç¥Õ¥©¥ë¥È¤ÇÍÑ°Õ¤·¤Æ¤¤¤ë Shader ¥×¥í¥°¥é¥à¤ò³Îǧ¤Ç¤¤Þ¤¹¡£
https://unity.com/ja/releases/editor/whats-new/600...
¡¡Î㤨¤Ð¥À¥¦¥ó¥í¡¼¥É¤·¤¿ UI ÍѤΠShader ¤ò¥Ù¡¼¥¹¤Ë²Ã¹©¤¹¤ë¡¢¤È¤¤¤Ã¤¿¤³¤È¤¬²Äǽ¤Ç¤¹¡£
- ¥«¥Æ¥´¥ê¡§
- ¿Ê³Ø/¥¹¥¯¡¼¥ë
- ¥×¥í¥°¥é¥ß¥ó¥°
¥³¥á¥ó¥È¤ò¤«¤¯