Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PlaySoundOnActive
C# Class PlaySoundOnActive, Imagine_fudge-roll
Script to play a sound when the game object is activated.
Inheritance:
MonoBehaviour
Show file
Open project: Microsoft/Imagine_fudge-roll
Public Properties
Property
Type
Description
sound
UnityEngine.AudioClip
Public Methods
Method
Description
OnEnable
( ) :
void
Method Details
OnEnable()
public
method
public
OnEnable
( ) :
void
return
void
Property Details
sound
public property
public
AudioClip,UnityEngine
sound
return
UnityEngine.AudioClip