(003)SlickEdit Unity的补全

2024-03-10 15:28
文章标签 unity 003 补全 slickedit

本文主要是介绍(003)SlickEdit Unity的补全,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

文章目录

  • 步骤
  • XML
    • 知识点
  • 附录

步骤

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();}}
}

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

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

<?xml version="1.0" encoding="utf-8"?>
<doc><assembly><name>DOTween</name></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>

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

XML

知识点

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

在这里插入图片描述

附录

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

这篇关于(003)SlickEdit Unity的补全的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/794674

相关文章

2、PF-Net点云补全

2、PF-Net 点云补全 PF-Net论文链接:PF-Net PF-Net (Point Fractal Network for 3D Point Cloud Completion)是一种专门为三维点云补全设计的深度学习模型。点云补全实际上和图片补全是一个逻辑,都是采用GAN模型的思想来进行补全,在图片补全中,将部分像素点删除并且标记,然后卷积特征提取预测、判别器判别,来训练模型,生成的像

Unity Post Process Unity后处理学习日志

Unity Post Process Unity后处理学习日志 在现代游戏开发中,后处理(Post Processing)技术已经成为提升游戏画面质量的关键工具。Unity的后处理栈(Post Processing Stack)是一个强大的插件,它允许开发者为游戏场景添加各种视觉效果,如景深、色彩校正、辉光、模糊等。这些效果不仅能够增强游戏的视觉吸引力,还能帮助传达特定的情感和氛围。 文档

Unity协程搭配队列开发Tips弹窗模块

概述 在Unity游戏开发过程中,提示系统是提升用户体验的重要组成部分。一个设计良好的提示窗口不仅能及时传达信息给玩家,还应当做到不干扰游戏流程。本文将探讨如何使用Unity的协程(Coroutine)配合队列(Queue)数据结构来构建一个高效且可扩展的Tips弹窗模块。 技术模块介绍 1. Unity协程(Coroutines) 协程是Unity中的一种特殊函数类型,允许异步操作的实现

Unity 资源 之 Super Confetti FX:点亮项目的璀璨粒子之光

Unity 资源 之 Super Confetti FX:点亮项目的璀璨粒子之光 一,前言二,资源包内容三,免费获取资源包 一,前言 在创意的世界里,每一个细节都能决定一个项目的独特魅力。今天,要向大家介绍一款令人惊艳的粒子效果包 ——Super Confetti FX。 二,资源包内容 💥充满活力与动态,是 Super Confetti FX 最显著的标签。它宛如一位

Unity数据持久化 之 一个通过2进制读取Excel并存储的轮子(4)

本文仅作笔记学习和分享,不用做任何商业用途 本文包括但不限于unity官方手册,unity唐老狮等教程知识,如有不足还请斧正​​ Unity数据持久化 之 一个通过2进制读取Excel并存储的轮子(3)-CSDN博客  这节就是真正的存储数据了   理清一下思路: 1.存储路径并检查 //2进制文件类存储private static string Data_Binary_Pa

Unity Adressables 使用说明(一)概述

使用 Adressables 组织管理 Asset Addressables 包基于 Unity 的 AssetBundles 系统,并提供了一个用户界面来管理您的 AssetBundles。当您使一个资源可寻址(Addressable)时,您可以使用该资源的地址从任何地方加载它。无论资源是在本地应用程序中可用还是存储在远程内容分发网络上,Addressable 系统都会定位并返回该资源。 您

Unity Adressables 使用说明(六)加载(Load) Addressable Assets

【概述】Load Addressable Assets Addressables类提供了加载 Addressable assets 的方法。你可以一次加载一个资源或批量加载资源。为了识别要加载的资源,你需要向加载方法传递一个键或键列表。键可以是以下对象之一: Address:包含你分配给资源的地址的字符串。Label:包含分配给一个或多个资源的标签的字符串。AssetReference Obj

在Unity环境中使用UTF-8编码

为什么要讨论这个问题         为了避免乱码和更好的跨平台         我刚开始开发时是使用VS开发,Unity自身默认使用UTF-8 without BOM格式,但是在Unity中创建一个脚本,使用VS打开,VS自身默认使用GB2312(它应该是对应了你电脑的window版本默认选取了国标编码,或者是因为一些其他的原因)读取脚本,默认是看不到在VS中的编码格式,下面我介绍一种简单快

Unity数据持久化 之 一个通过2进制读取Excel并存储的轮子(3)

本文仅作笔记学习和分享,不用做任何商业用途 本文包括但不限于unity官方手册,unity唐老狮等教程知识,如有不足还请斧正​​ Unity数据持久化 之 一个通过2进制读取Excel并存储的轮子(2) (*****生成数据结构类的方式特别有趣****)-CSDN博客 做完了数据结构类,该做一个存储类了,也就是生成一个字典类(只是声明)  实现和上一节的数据结构类的方式大同小异,所

【Unity小技巧】URP管线遮挡高亮效果

前言 在URP渲染管线环境下实现物体遮挡高亮显示效果,效果如下: Unity URP遮挡高亮 实现步骤 创建层级,为需要显示高亮效果的物体添加层级,比如Player 创建一个材质球,也就是高亮效果显示的材质球找到Universal Renderer Data Assets 4.在Assets上添加两个Render Objects组件 第一个做如下三处设置 指定遮挡层级指