• (003)SlickEdit Unity的补全


    文章目录

    步骤

    1.下载 unity 源码

    2.将自定义文件 MonoBehaviour.cs 放到解压后的项目里面:

    using System;
    
    namespace UnityEngine
    {
        public partial class MonoBehaviour
        {
            public virtual void Awake()
            {
                throw new NotImplementedException();
            }
    
            public virtual void Reset()
            {
                throw new NotImplementedException();
            }
    
            public virtual void Start()
            {
                throw new NotImplementedException();
            }
    
            public virtual void Update()
            {
                throw new NotImplementedException();
            }
    
            public virtual void FixedUpdate()
            {
                throw new NotImplementedException();
            }
    
            public virtual void LateUpdate()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnEnable()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnDisable()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnDestroy()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnGUI()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnAnimatorIK(int layerIndex)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnAnimatorMove()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnApplicationFocus(bool hasFocus)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnApplicationPause(bool pauseStatus)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnApplicationQuit()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnAudioFilterRead(float[] data, int channels)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnBecameInvisible()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnBecameVisible()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnBeforeTransformParentChanged()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnCanvasGroupChanged()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnCanvasHierarchyChanged()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnCollisionEnter(Collision collision)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnCollisionEnter2D(Collision2D col)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnCollisionExit(Collision other)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnCollisionExit2D(Collision2D other)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnCollisionStay(Collision collisionInfo)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnCollisionStay2D(Collision2D collision)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnConnectedToServer()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnControllerColliderHit(ControllerColliderHit hit)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnDidApplyAnimationProperties()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnDrawGizmos()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnDrawGizmosSelected()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnJointBreak(float breakForce)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnJointBreak2D(Joint2D brokenJoint)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnMouseDown()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnMouseDrag()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnMouseEnter()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnMouseExit()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnMouseOver()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnMouseUp()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnMouseUpAsButton()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnParticleCollision(GameObject other)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnParticleSystemStopped()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnParticleTrigger()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnParticleUpdateJobScheduled()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnPostRender()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnPreCull()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnPreRender()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnRectTransformDimensionsChange()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnRenderImage(RenderTexture src, RenderTexture dest)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnRenderObject()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnServerInitialized()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnTransformChildrenChanged()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnTransformParentChanged()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnTriggerEnter(Collider other)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnTriggerEnter2D(Collider2D col)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnTriggerExit(Collider other)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnTriggerExit2D(Collider2D other)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnTriggerStay(Collider other)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnTriggerStay2D(Collider2D other)
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnValidate()
            {
                throw new NotImplementedException();
            }
    
            public virtual void OnWillRenderObject()
            {
                throw new NotImplementedException();
            }
        }
    }
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220
    • 221
    • 222
    • 223
    • 224
    • 225
    • 226
    • 227
    • 228
    • 229
    • 230
    • 231
    • 232
    • 233
    • 234
    • 235
    • 236
    • 237
    • 238
    • 239
    • 240
    • 241
    • 242
    • 243
    • 244
    • 245
    • 246
    • 247
    • 248
    • 249
    • 250
    • 251
    • 252
    • 253
    • 254
    • 255
    • 256
    • 257
    • 258
    • 259
    • 260
    • 261
    • 262
    • 263
    • 264
    • 265
    • 266
    • 267
    • 268
    • 269
    • 270
    • 271
    • 272
    • 273
    • 274
    • 275
    • 276
    • 277
    • 278
    • 279
    • 280
    • 281
    • 282
    • 283
    • 284
    • 285
    • 286
    • 287
    • 288
    • 289
    • 290
    • 291
    • 292
    • 293
    • 294
    • 295
    • 296
    • 297
    • 298
    • 299
    • 300
    • 301
    • 302
    • 303
    • 304
    • 305
    • 306
    • 307
    • 308
    • 309
    • 310
    • 311
    • 312
    • 313
    • 314
    • 315
    • 316
    • 317
    • 318

    4.新建 DefendSymbol.xml 文件,放到解压后的项目里面:

    1.tag 的时候,估计只识别 xml 的 id 和 name 属性。
    2.symbol 如果都是大写,补全的时候,前面输入也要大写才会有提示,设置哪里有问题吧。

    
    <doc>
        <assembly>
            <name>DOTweenname>
        assembly>
        <members>
            <member id="UNITY_2021_3_19">member>
            <member id="UNITY_2021_3">member>
            <member id="UNITY_2021">member>
            <member id="UNITY_5_3_OR_NEWER">member>
            <member id="UNITY_5_4_OR_NEWER">member>
            <member id="UNITY_5_5_OR_NEWER">member>
            <member id="UNITY_5_6_OR_NEWER">member>
            <member id="UNITY_2017_1_OR_NEWER">member>
            <member id="UNITY_2017_2_OR_NEWER">member>
            <member id="UNITY_2017_3_OR_NEWER">member>
            <member id="UNITY_2017_4_OR_NEWER">member>
            <member id="UNITY_2018_1_OR_NEWER">member>
            <member id="UNITY_2018_2_OR_NEWER">member>
            <member id="UNITY_2018_3_OR_NEWER">member>
            <member id="UNITY_2018_4_OR_NEWER">member>
            <member id="UNITY_2019_1_OR_NEWER">member>
            <member id="UNITY_2019_2_OR_NEWER">member>
            <member id="UNITY_2019_3_OR_NEWER">member>
            <member id="UNITY_2019_4_OR_NEWER">member>
            <member id="UNITY_2020_1_OR_NEWER">member>
            <member id="UNITY_2020_2_OR_NEWER">member>
            <member id="UNITY_2020_3_OR_NEWER">member>
            <member id="UNITY_2021_1_OR_NEWER">member>
            <member id="UNITY_2021_2_OR_NEWER">member>
            <member id="UNITY_2021_3_OR_NEWER">member>
            <member id="PLATFORM_ARCH_64">member>
            <member id="UNITY_64">member>
            <member id="UNITY_INCLUDE_TESTS">member>
            <member id="ENABLE_AR">member>
            <member id="ENABLE_AUDIO">member>
            <member id="ENABLE_CACHING">member>
            <member id="ENABLE_CLOTH">member>
            <member id="ENABLE_EVENT_QUEUE">member>
            <member id="ENABLE_MICROPHONE">member>
            <member id="ENABLE_MULTIPLE_DISPLAYS">member>
            <member id="ENABLE_PHYSICS">member>
            <member id="ENABLE_TEXTURE_STREAMING">member>
            <member id="ENABLE_VIRTUALTEXTURING">member>
            <member id="ENABLE_UNET">member>
            <member id="ENABLE_LZMA">member>
            <member id="ENABLE_UNITYEVENTS">member>
            <member id="ENABLE_VR">member>
            <member id="ENABLE_WEBCAM">member>
            <member id="ENABLE_UNITYWEBREQUEST">member>
            <member id="ENABLE_WWW">member>
            <member id="ENABLE_CLOUD_SERVICES">member>
            <member id="ENABLE_CLOUD_SERVICES_COLLAB">member>
            <member id="ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS">member>
            <member id="ENABLE_CLOUD_SERVICES_ADS">member>
            <member id="ENABLE_CLOUD_SERVICES_USE_WEBREQUEST">member>
            <member id="ENABLE_CLOUD_SERVICES_CRASH_REPORTING">member>
            <member id="ENABLE_CLOUD_SERVICES_PURCHASING">member>
            <member id="ENABLE_CLOUD_SERVICES_ANALYTICS">member>
            <member id="ENABLE_CLOUD_SERVICES_UNET">member>
            <member id="ENABLE_CLOUD_SERVICES_BUILD">member>
            <member id="ENABLE_CLOUD_LICENSE">member>
            <member id="ENABLE_EDITOR_HUB_LICENSE">member>
            <member id="ENABLE_WEBSOCKET_CLIENT">member>
            <member id="ENABLE_DIRECTOR_AUDIO">member>
            <member id="ENABLE_DIRECTOR_TEXTURE">member>
            <member id="ENABLE_MANAGED_JOBS">member>
            <member id="ENABLE_MANAGED_TRANSFORM_JOBS">member>
            <member id="ENABLE_MANAGED_ANIMATION_JOBS">member>
            <member id="ENABLE_MANAGED_AUDIO_JOBS">member>
            <member id="ENABLE_MANAGED_UNITYTLS">member>
            <member id="INCLUDE_DYNAMIC_GI">member>
            <member id="ENABLE_SCRIPTING_GC_WBARRIERS">member>
            <member id="PLATFORM_SUPPORTS_MONO">member>
            <member id="RENDER_SOFTWARE_CURSOR">member>
            <member id="ENABLE_VIDEO">member>
            <member id="ENABLE_ACCELERATOR_CLIENT_DEBUGGING">member>
            <member id="PLATFORM_STANDALONE">member>
            <member id="TEXTCORE_1_0_OR_NEWER">member>
            <member id="PLATFORM_STANDALONE_WIN">member>
            <member id="UNITY_STANDALONE_WIN">member>
            <member id="UNITY_STANDALONE">member>
            <member id="ENABLE_RUNTIME_GI">member>
            <member id="ENABLE_MOVIES">member>
            <member id="ENABLE_NETWORK">member>
            <member id="ENABLE_NVIDIA">member>
            <member id="ENABLE_CRUNCH_TEXTURE_COMPRESSION">member>
            <member id="ENABLE_UNITY_GAME_SERVICES_ANALYTICS_SUPPORT">member>
            <member id="ENABLE_OUT_OF_PROCESS_CRASH_HANDLER">member>
            <member id="ENABLE_CLUSTER_SYNC">member>
            <member id="ENABLE_CLUSTERINPUT">member>
            <member id="PLATFORM_UPDATES_TIME_OUTSIDE_OF_PLAYER_LOOP">member>
            <member id="GFXDEVICE_WAITFOREVENT_MESSAGEPUMP">member>
            <member id="ENABLE_WEBSOCKET_HOST">member>
            <member id="ENABLE_MONO">member>
            <member id="NET_4_6">member>
            <member id="NET_UNITY_4_8">member>
            <member id="ENABLE_PROFILER">member>
            <member id="DEBUG">member>
            <member id="TRACE">member>
            <member id="UNITY_ASSERTIONS">member>
            <member id="UNITY_EDITOR">member>
            <member id="UNITY_EDITOR_64">member>
            <member id="UNITY_EDITOR_WIN">member>
            <member id="ENABLE_UNITY_COLLECTIONS_CHECKS">member>
            <member id="ENABLE_BURST_AOT">member>
            <member id="UNITY_TEAM_LICENSE">member>
            <member id="ENABLE_CUSTOM_RENDER_TEXTURE">member>
            <member id="ENABLE_DIRECTOR">member>
            <member id="ENABLE_LOCALIZATION">member>
            <member id="ENABLE_SPRITES">member>
            <member id="ENABLE_TERRAIN">member>
            <member id="ENABLE_TILEMAP">member>
            <member id="ENABLE_TIMELINE">member>
            <member id="ENABLE_LEGACY_INPUT_MANAGER">member>
            <member id="TEXTCORE_FONT_ENGINE_1_5_OR_NEWER">member>
            <member id="ENABLE_DEBUG_AND_ABOVE_LOG">member>
            <member id="CSHARP_7_OR_LATER">member>
            <member id="CSHARP_7_3_OR_NEWER">member>
        members>
    doc>
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122

    5.索引 unityCsReference 项目:
    在这里插入图片描述

    XML

    知识点

    1.xml的修饰符:
    在这里插入图片描述

    在这里插入图片描述

    附录

    [1] unity源码及自定义tag文件

  • 相关阅读:
    vue3 第二天vue响应式原理以及ref和reactive区别
    Echarts绘制Tree树图的涟漪效果effectScatter
    2022年上半年系统分析师上午真题及答案解析
    【CFD小工坊】浅水模型的边界条件
    Tomcat
    Mqtt 客户端 java API 教程
    L12.linux命令每日一练 -- 第二章 文件和目录操作命令 -- dirname和chattr命令
    Spring Boot集成Hibernate Envers自定义修订实体使用多个数据源
    算法的时间复杂度分析习题专题
    SpringCloud-Eureka服务注册与发现
  • 原文地址:https://blog.csdn.net/WGYHAPPY/article/details/136598631