Skip to content

Commit

Permalink
fix: プリプロセッサで囲わないと動かない可能性がある
Browse files Browse the repository at this point in the history
  • Loading branch information
pspkurara committed Sep 8, 2020
1 parent 8c2de7a commit 5ad836d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Packages/uGUI-Skinner/Runtime/SkinnerRuntimeEditorUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ internal static class SkinnerRuntimeEditorUtility
[System.Diagnostics.Conditional("UNITY_EDITOR")]
public static void RecordObject(Object @object)
{
#if UNITY_EDITOR
Undo.RecordObject(@object, "SkinnerPartsEdit");
#endif
}

}
Expand Down

0 comments on commit 5ad836d

Please sign in to comment.