From 47210bb75e6bfabe0b418120ac50181b0b54afd5 Mon Sep 17 00:00:00 2001 From: OliverS Date: Sun, 21 Apr 2024 10:36:48 +0200 Subject: [PATCH] =?UTF-8?q?s=C3=A6ios=20pi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ButtonSFX.cs | 23 +++++++++++++++++++++++ Assets/ButtonSFX.cs.meta | 11 +++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Assets/ButtonSFX.cs create mode 100644 Assets/ButtonSFX.cs.meta diff --git a/Assets/ButtonSFX.cs b/Assets/ButtonSFX.cs new file mode 100644 index 0000000..e815af4 --- /dev/null +++ b/Assets/ButtonSFX.cs @@ -0,0 +1,23 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class ButtonSFX : MonoBehaviour +{ + // Start is called before the first frame update + void Start() + { + + } + + // Update is called once per frame + void Update() + { + + } + + private void OnMouseEnter() + { + //Play SFX + } +} diff --git a/Assets/ButtonSFX.cs.meta b/Assets/ButtonSFX.cs.meta new file mode 100644 index 0000000..cf19976 --- /dev/null +++ b/Assets/ButtonSFX.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f818b5a737243824cb4ebc1eaa7aa93e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: