Skip to content

開発者向け API

パッケージ内部で使用している汎用クラスは外部からも使えます。

ReflectionDelegateFactory

Unity 内部 API への高速なアクセスデリゲートを Expression Tree で生成します。

csharp
var del = ReflectionDelegateFactory.Create<Action<object>>(
    "UnityEditor.Graphs.ParameterControllerView", "DeleteParameter");

拡張メソッド / ユーティリティ

クラス主な用途
AnimatorExtensionsGetAllStates / GetAllTransitions / PasteLayer / CloneObject
EditorWindowExtensionsGetDockAreaWindows / 拡張版 GetWindow
GUIExtensionsToggleSafe / SliderSafe / DrawHorizontalLine
PathUtils絶対パス ↔ Asset パス変換

(このページはモックです)

MIT License