This commit is contained in:
2025-12-04 16:27:03 +08:00
parent 9bb253d5ae
commit 710a9ccfe6
3 changed files with 15 additions and 30 deletions

View File

@@ -40,7 +40,6 @@ namespace Demo.Game
public void EnableScript(string sourcePath, GameController parent)
{
AllScriptableObjectCounter = 0;
if (AllScriptableObjectCounterHierarchyItem == null)
{
AllScriptableObjectCounterHierarchyItem = HierarchyWindow.instance.CreateRootItemEntryWithBinders(typeof(ScriptableObject))[0];