minor fixes

This commit is contained in:
Daniel Tyomin 2024-08-20 03:55:02 +02:00
parent 522329f39b
commit 375426bd1e
2 changed files with 9 additions and 0 deletions

View File

@ -14227,6 +14227,10 @@ PrefabInstance:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 1302667470} m_TransformParent: {fileID: 1302667470}
m_Modifications: m_Modifications:
- target: {fileID: 1874040215986903263, guid: d594a9afcbadc3646be0b679de9ca105, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1991443053129587207, guid: d594a9afcbadc3646be0b679de9ca105, type: 3} - target: {fileID: 1991443053129587207, guid: d594a9afcbadc3646be0b679de9ca105, type: 3}
propertyPath: m_IsActive propertyPath: m_IsActive
value: 0 value: 0

View File

@ -35,6 +35,11 @@ public class Scoreboard: MonoBehaviour
{ {
Instance = this; Instance = this;
} }
foreach (var stageProp in FindObjectsOfType<StageProp>(true))
{
stageProp.gameObject.SetActive(false);
}
} }
public void StartStage(StagingManager.StageEnum stage) public void StartStage(StagingManager.StageEnum stage)