Made error sounds play in the background
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user