Made error sounds play in the background

This commit is contained in:
2026-01-22 22:24:22 +00:00
parent 16c35e1624
commit b3e5769758
3 changed files with 131 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections;
using InterfaceOff.WorldScene;
using UnityEngine;
namespace InterfaceOff
@@ -14,6 +15,8 @@ namespace InterfaceOff
public void InstantiateWindowBase(WindowSpawner creator)
{
PlayerController.PlayRandomErrorSound();
transform.position = CanvasManager.GetRandomPositionOnCanvas();
Creator = creator;