unityÊ¥µäÀëÏßÖÐÎĽű¾Êֲᣬchm¸ñʽ£¬±¾½Å±¾²Î¿¼»ùÓÚUnity 3.30f4£¬Unity3DÊ¥µäÖÐÎĽű¾.chm,3DÓÎÏ·ÒýÇæ¼¼ÊõÆÊÎö¡¢3DÓÎÏ·ÒýÇæäÖȾÄں˼ܹ¹¼°Æä¼¼Êõ¡¢OpenGLºËÐĸÅÄîɨä¡¢Unity3DÊ¥µäÖÐÎĽű¾¡£
Scripting Overview ½Å±¾¸ÅÊö£º
ÕâÊÇÒ»¸ö¼ò¶ÌµÄUnity½Å±¾ÊÖ²á
UnityµÄ½Å±¾¹¦ÄÜ,ÊÇͨ¹ý½«×Ô¶¨ÒåµÄ½Å±¾¸½¼Óµ½ÎïÌå¶ÔÏ󹹳ɵÄ,ÎÒÃdzÆ֮ΪÐÐΪ.½Å±¾ÖÐÓи÷ÖÖº¯Êý±»²»Í¬µÄʼþËùµ÷ÓÃ.ÏÂÃ漸¸ö×î³£ÓõÄ:
Õâ¸öº¯ÊýÔÚÔËÐÐһ֮֡ǰ±»µ÷ÓÃ.ÕâÊǺܶàÓÎÏ·ÔËÐÐÐÐΪ´úÂëµÄµØ·½,³ýÁËÎïÀí´úÂë.
Õâ¸öº¯Êý»áÔÚÿ¸ö¹Ì¶¨µÄÎïÀíʱ¼äƬ±»µ÷ÓÃÒ»´Î.ÕâÊÇ·ÅÖÃÓÎÏ·»ù±¾ÎïÀíÐÐΪ´úÂëµÄµØ·½.
º¯ÊýÍⲿ´úÂë :
º¯ÊýÍⲿµÄ´úÂëÔÚÎïÌå±»¼ÓÔØʱÔËÐÐ.Õâ¿ÉÒÔÓÃÀ´³õʼ»¯½Å±¾×´Ì¬.
×¢Òâ:Õâ¸öÎĵµ¼ÙÉèÄãʹÓõÄÊÇJavascript,·ñÔòÇë²é¿´ Writing scripts in C# (ÓÃC#±àд½Å±¾)À´»ñÈ¡ÈçºÎʹÓÃC#»òBoo±àд½Å±¾.
Subsections Õ½Ú
Common Operations ³£ÓòÙ×÷
Keeping Track of Time ¼Ç¼ʱ¼ä
Accessing Other Components ·ÃÎÊÆäËû×é¼þ
Accessing Other Game Objects ·ÃÎÊÆäËûÓÎÏ·ÎïÌå
Vectors ÏòÁ¿
Member Variables & Global Variables ³ÉÔ±±äÁ¿ & È«¾Ö±äÁ¿
Instantiate ʵÀý
Coroutines & Yield Ðͬ³ÌÐò & ÖжÏ
Writing Scripts in C# ʹÓÃC#Êéд½Å±¾
The most important classes ÖØÒªµÄÀà
Performance Optimization ÐÔÄÜÓÅ»¯
Script compilation (Advanced) ½Å±¾±àÒë(¸ß¼¶)
Attributes ÊôÐÔ
AddComponentMenuÌí¼Ó×é¼þ²Ëµ¥ ·Ò룺½£¿Í
AddComponentMenu¹¹ÔìÌí¼Ó×é¼þ²Ëµ¥
ContextMenuÉÏÏÂÎIJ˵¥ ·Ò룺½£¿Í
ContextMenu¹¹ÔìÉÏÏÂÎIJ˵¥
ExecuteInEditModeÔڼģʽÔËÐÐ ·Ò룺½£¿Í
HideInInspectorÔÚ¼ìÊÓÃæ°åÖÐÒþ²Ø ·Ò룺½£¿Í
NonSerialized·ÇÐòÁл¯ ·Ò룺½£¿Í
RequireComponentÐèÒª×é¼þ ·Ò룺½£¿Í
RequireComponent¹¹ÔìÐèÒª×é¼þ ·Ò룺½£¿Í
RPCÔ¶³Ì¹ý³Ìµ÷Óà ·Ò룺½£¿Í
SerializableÐòÁл¯ ·Ò룺½£¿Í
SerializeFieldÐòÁл¯Óò ·Ò룺½£¿Í