HOW TO CREATE SOUND (BUTTON CLICK & HOVER)In UNITY-TAMIL
How to create menu: • How to create a Game Menu in Unity -TAMIL(...
Watch the above video if you want to know how to create the game menu
CODE USED IN THE VIDEO
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class soundmanage : MonoBehaviour
{
public AudioSource source;
public AudioClip click;
public AudioClip hower;
public void buttonsoundclick()
{
source.PlayOneShot(click);
}
public void buttonsoundhower()
{
source.PlayOneShot(hower);
}
}
Please support share and subscribe