升级6.4.升级水,升级天气
This commit is contained in:
@@ -98,7 +98,7 @@ namespace WaveHarmonic.Crest.Internal
|
||||
|
||||
// When singleton, destroy instance objects.
|
||||
if (enableInEditMode && attribute._Options.HasFlag(ExecuteDuringEditMode.Options.Singleton) &&
|
||||
FindObjectsByType(GetType(), FindObjectsSortMode.None).Length > 1)
|
||||
Helpers.FindObjectsByType(GetType()).Length > 1)
|
||||
{
|
||||
enableInEditMode = false;
|
||||
EditorApplication.update -= InternalDestroyNonSaveables;
|
||||
|
||||
Reference in New Issue
Block a user