1
0
mirror of synced 2024-11-14 10:07:40 +01:00

Restore audiosource requirement for buttons still using their own audiosource

This commit is contained in:
Kylemc1413 2022-05-29 09:57:49 -04:00
parent f2aeaa936e
commit c378794cc0
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ using UnityEngine;
using UnityEngine.Events;
using UnityEngine.InputSystem;
[RequireComponent(typeof(AudioSource))]
public class LocomotionToggle : MonoBehaviour
{
[System.Serializable]

View File

@ -2,6 +2,7 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(AudioSource))]
public class PanelHiderButton : MonoBehaviour
{
private int colliderCount = 0;