Tab => Space

pull/169/head
shadeAlex 2021-08-02 15:09:21 +09:00
parent 19c7650ddf
commit 1eb11251d0
1 changed files with 3 additions and 3 deletions

View File

@ -217,11 +217,11 @@ namespace Coffee.UIExtensions
if (stage != null && stage.scene.isLoaded) if (stage != null && stage.scene.isLoaded)
{ {
#if UNITY_2020_1_OR_NEWER #if UNITY_2020_1_OR_NEWER
string prefabAssetPath = stage.assetPath; string prefabAssetPath = stage.assetPath;
#else #else
string prefabAssetPath = stage.prefabAssetPath; string prefabAssetPath = stage.prefabAssetPath;
#endif #endif
PrefabUtility.SaveAsPrefabAsset(stage.prefabContentsRoot, prefabAssetPath); PrefabUtility.SaveAsPrefabAsset(stage.prefabContentsRoot, prefabAssetPath);
} }
#endif #endif
} }