当前位置: 代码网 > it编程>编程语言>Asp.net > (003)SlickEdit Unity的补全及Tag的创建

(003)SlickEdit Unity的补全及Tag的创建

2024年08月01日 Asp.net 我要评论
文章目录步骤XML知识点附录步骤1.下载 unity 源码。2.将自定义文件 MonoBehaviour.cs 放到解压后的项目里面:using System;namespace UnityEngine{ public partial class MonoBehaviour { public virtual void Awake() { throw new NotImplementedException();

项目内代码的tag

1.项目代码有大修改后,unity 编辑器内重新生成项目解决方案:
在这里插入图片描述
2.slickedit 刷新解决方案:
在这里插入图片描述

3.指定索引某个目录下的 dll, 比如 unity 工程目录下 library 目录,注意选择语言
在这里插入图片描述

4.新建 xml 文件的 tag索引:
在这里插入图片描述

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

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

<?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 项目: .cs;.csx;.dll;.xml;*.csproj :
在这里插入图片描述

xml

知识点

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

在这里插入图片描述

附录

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

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com