Megumin.Explosion 1.0.1

dotnet add package Megumin.Explosion --version 1.0.1
NuGet\Install-Package Megumin.Explosion -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Megumin.Explosion" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Megumin.Explosion --version 1.0.1
#r "nuget: Megumin.Explosion, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Megumin.Explosion as a Cake Addin
#addin nuget:?package=Megumin.Explosion&version=1.0.1

// Install Megumin.Explosion as a Cake Tool
#tool nuget:?package=Megumin.Explosion&version=1.0.1

这是什么?

这是一些常用扩展函数。是整个Megumin系列类库的最底层基础库。
还有一些UnityPackage,是unity用的扩展函数,和一些常用类。

UPM Package

Install via git URL

image

or add "com.megumin.explosion4unity": "https://github.com/KumoKyaku/Megumin.Explosion.git?path=Megumin.UnityPackage/Packages/megumin.explosion4unity" to Packages/manifest.json.

If you want to set a target version, uses the *.*.* release tag so you can specify a version like #2.1.0. For example https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask#2.1.0.

当前版本目标框架为netstandard2.1

error CS1705: Assembly 'Megumin.Explosion' with identity 'Megumin.Explosion, Version=0.1.4.0, Culture=neutral, PublicKeyToken=83a041e0a8636db9' uses 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' which has a higher version than referenced assembly 'netstandard' with identity 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

Unity2021.2之前的版本请使用 vnetstandard2.0版本,后续不会在维护旧版本.
Add "com.megumin.explosion4unity": "https://github.com/KumoKyaku/Megumin.Explosion.git?path=Megumin.UnityPackage/Packages/megumin.explosion4unity#vnetstandard2.0" to Packages/manifest.json.

功能列表

编辑器功能:

  • Package wizard,一键生成包目录结构.
    image-20210921185844394
  • Inspector导航,支持鼠标侧键切换最近选中对象。
  • 设置编辑器内置图标。
    SetIcon-min
  • Link,一些常用插件链接。
    image-20210921185911351
  • ScriptObjectDrawer,ScriptObject面版增加new和clone两个按钮。

脚本组件:

  • TargetPoint,可视化目标点。
  • 通用CD功能
    CDEffect
  • ColliderRenderer,运行时绘制碰撞体。
  • LabelRenderer,运行时显示一个标签,支持宏配置。
  • DebugMeshRenderer, 运行时绘制一个mesh.
  • UrlImage,支持网络图片,不用把图片资源放到项目里,方便demo制作。
  • GUIFPS,原生GUI显示帧率。

数据类型:

  • HexColor,十六进制颜色,支持字符串解析。
    image-20210921190022944
  • HSVColor
    image-20210921190056680
  • Pref,支持用户配置功能。
  • Overrideable,泛型可以重写字段,支持一个默认值和重写值。
    Overrideable
  • Enableable,泛型可快关字段.
    Enableable
  • iint,支持正负无穷的int类型。

特性:

  • Options2StringAttribute,将一个类里的string字段在Inspector中显示为下拉菜单。
    image-20211006123217496
  • PathAttribute,string字段快速路径序列化。
    image-20211006123348619
  • EditorButtonAttribute,将函数之间绘制在Inpector面板,支持参数。
  • Enum2StringAttribute,在Inpector将string绘制为Enum。
  • ReadOnlyInInspectorAttribute,在Inpector显示为只读。
  • HelpBoxAttribute,显示一个帮助Label。
  • GUIDAttribute,将一个string自动填入guid。
  • EnumQueueAttribute,一个像renderqueue那样的属性抽屉.
    CancelQueueEffect

依赖关系

依赖关系

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 419 10/29/2022
1.0.0 423 10/14/2022
0.1.6 417 10/8/2022
0.1.5 402 9/9/2021
0.1.4 367 9/9/2021
0.1.2 551 12/13/2019
0.1.1 626 2/22/2019
0.1.0 547 2/21/2019
0.0.1 1,853 1/2/2019