• 2024-07-14参数的引用类型
    publicGameObjecttargetGameObject;[Tooltip("移动速度")]publicfloatspeed=0.02f;privatevoidAwake(){Application.targetFrameRate=60;}//StartiscalledbeforethefirstframeupdatevoidStart()