This commit is contained in:
Nimesh
2023-02-01 22:49:22 +05:30
parent 638cae044d
commit a4b6187d38
125 changed files with 2370 additions and 27 deletions

16
Assets/soundScript.cs Normal file
View File

@@ -0,0 +1,16 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class soundScript : MonoBehaviour
{
public AudioSource sFx;
private void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
sFx.Play();
}
}
}