Azarian

Kids Memory Game - Sea Creatures

by Azarian

Kids Memory Game - Sea Creatures Unity

Screenshots

Kids Memory Game - Sea Creatures Unity
Kids Memory Game - Sea Creatures Unity
Kids Memory Game - Sea Creatures Unity
Kids Memory Game - Sea Creatures Unity

Specification

How to Use

Sample Code

using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class SoundManager : MonoBehaviour { public AudioClip[] ac; void Awake () { DontDestroyOnLoad(gameObject); if (SceneManager.GetActiveScene().buildIndex == 0) SceneManager.LoadScene(1); } public void PlaySound(int soundNum = 0) { GetComponent<AudioSource>().clip = ac[soundNum]; GetComponent<AudioSource>().Play(); } }

Video

Comments (0)

  • {{com.username}}
    {{com.username}}
    Buyer
    Seller

    {{com.username}}

    {{com.ctime}}

    {{com.content}}

    • {{com2.username}}
      {{com2.username}}
      Buyer
      Seller

      {{com2.username}}

      {{com2.ctime}}

      {{com2.content}}