Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ã¨ãã£ã¿æ¡å¼µã®æ¹æ³ãããã©å¿ãããã®ã§ãããã«ã¡ã¢ãã¦ãããã¨æã£ãããåãæ å ±ã®ã¾ã¨ã¾ã£ãããã°ããã£ãã®ã§ããã£ã¡ãã¡ã¢ãã¦ãããã¨æããåããããããµã³ãã«ã½ã¼ã¹ãã¤ãã¦ããã [Unity]Unity Editorã®Inspectorãæ¡å¼µããï¼ã³ã¬ãããã°ï¼ http://koganegames.blog.fc2.com/blog-entry-98.html ã¡ãªã¿ã«ã¨ãã£ã¿æ¡å¼µã¨ã¯ä½ããã£ã¦äººã¯ããã®ã¹ã©ã¤ããåãããããã Extending the Unity Editor http://www.slideshare.net/lucifuges/extending-the-unity-editor ç¹ã«ã¨ãã£ã¿æ¡å¼µã¯ï¼å®ã¯ï¼æ¡å¼µå ã¯ã©ã¹ã«å½±é¿ãä½ãä¸ãã«ããç¹æ§ãããã®ã§ããã¶ã¤ãã¼ããã©ã³ãã¼ãè¦ããã¨å¹¸ãã«ãªãé ç®ã ã¨æããæ®ã©ã³ããã§åãæãå«ãã¦ãå¾ã¯èª°ããã¨ãã£ã¿
Unityã§ææããã¦ã¤ã³ã¹ãã¯ã¿ã¼ãæ¡å¼µããæ¹æ³ ææããã®1ããã¨ãã£ã¿æ¡å¼µããã«ãã¤ã³ã¹ãã¯ã¿ã¼ããæ´æ°ã ãµã³ãã«ã¨ãã¦Unity4.3ã§ä½¿ç¨å¯è½ã«ãªã£ãSpriteã®è¡¨ç¤ºãµã¤ãºãå¤æ´ããã³ã³ãã¼ãã³ããä½ã£ã¦ã¿ã¾ãããã ãã¤ã³ã¹ãã¯ã¿ã¼ä¸ã§å ¥åããããµã¤ãºã®å¤ã«ãã£ã¦ãTransformã®ã¹ã±ã¼ã«å¤ãå¤æ´ãããã¨ããã¯ã©ã¹ã§ãã using UnityEngine; [ExecuteInEditMode] [AddComponentMenu("2D/CustomSprite")] [RequireComponent (typeof (SpriteRenderer))] public class CustomSprite : MonoBehaviour { //表示ã¹ãã©ã¤ãã®ãµã¤ãº [SerializeField] Vector2 customSize = Vector2.ze
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}