C# Class PlaySoundOnActive, Imagine_fudge-roll

Script to play a sound when the game object is activated.
Inheritance: MonoBehaviour
显示文件 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_oe property

public AudioClip,UnityEngine sound
return UnityEngine.AudioClip