2025-04-16 19:57:54 -04:00
|
|
|
### YamlMime:ManagedReference
|
|
|
|
|
items:
|
|
|
|
|
- uid: Music.SoundEffect
|
|
|
|
|
commentId: T:Music.SoundEffect
|
|
|
|
|
id: SoundEffect
|
|
|
|
|
parent: Music
|
|
|
|
|
children:
|
|
|
|
|
- Music.SoundEffect.#ctor(System.String,AudioSource)
|
|
|
|
|
- Music.SoundEffect.audioSource
|
|
|
|
|
- Music.SoundEffect.name
|
|
|
|
|
langs:
|
|
|
|
|
- csharp
|
|
|
|
|
- vb
|
|
|
|
|
name: SoundEffect
|
|
|
|
|
nameWithType: SoundEffect
|
|
|
|
|
fullName: Music.SoundEffect
|
|
|
|
|
type: Class
|
|
|
|
|
source:
|
|
|
|
|
id: SoundEffect
|
|
|
|
|
path: ''
|
2025-04-18 20:11:19 -04:00
|
|
|
startLine: 1210
|
2025-04-16 19:57:54 -04:00
|
|
|
assemblies:
|
|
|
|
|
- cs.temp.dll
|
|
|
|
|
namespace: Music
|
2025-04-18 20:11:19 -04:00
|
|
|
summary: "\nRepresents a sound effect, including its name and associated AudioSource.\n"
|
|
|
|
|
example: []
|
2025-04-16 19:57:54 -04:00
|
|
|
syntax:
|
|
|
|
|
content: public class SoundEffect
|
|
|
|
|
content.vb: Public Class SoundEffect
|
|
|
|
|
inheritance:
|
|
|
|
|
- System.Object
|
|
|
|
|
- uid: Music.SoundEffect.name
|
|
|
|
|
commentId: F:Music.SoundEffect.name
|
|
|
|
|
id: name
|
|
|
|
|
parent: Music.SoundEffect
|
|
|
|
|
langs:
|
|
|
|
|
- csharp
|
|
|
|
|
- vb
|
|
|
|
|
name: name
|
|
|
|
|
nameWithType: SoundEffect.name
|
|
|
|
|
fullName: Music.SoundEffect.name
|
|
|
|
|
type: Field
|
|
|
|
|
source:
|
|
|
|
|
id: name
|
|
|
|
|
path: ''
|
2025-04-18 20:11:19 -04:00
|
|
|
startLine: 1215
|
2025-04-16 19:57:54 -04:00
|
|
|
assemblies:
|
|
|
|
|
- cs.temp.dll
|
|
|
|
|
namespace: Music
|
2025-04-18 20:11:19 -04:00
|
|
|
summary: "\nThe name of the sound effect.\n"
|
|
|
|
|
example: []
|
2025-04-16 19:57:54 -04:00
|
|
|
syntax:
|
|
|
|
|
content: public string name
|
|
|
|
|
return:
|
|
|
|
|
type: System.String
|
|
|
|
|
content.vb: Public name As String
|
|
|
|
|
- uid: Music.SoundEffect.audioSource
|
|
|
|
|
commentId: F:Music.SoundEffect.audioSource
|
|
|
|
|
id: audioSource
|
|
|
|
|
parent: Music.SoundEffect
|
|
|
|
|
langs:
|
|
|
|
|
- csharp
|
|
|
|
|
- vb
|
|
|
|
|
name: audioSource
|
|
|
|
|
nameWithType: SoundEffect.audioSource
|
|
|
|
|
fullName: Music.SoundEffect.audioSource
|
|
|
|
|
type: Field
|
|
|
|
|
source:
|
|
|
|
|
id: audioSource
|
|
|
|
|
path: ''
|
2025-04-18 20:11:19 -04:00
|
|
|
startLine: 1220
|
2025-04-16 19:57:54 -04:00
|
|
|
assemblies:
|
|
|
|
|
- cs.temp.dll
|
|
|
|
|
namespace: Music
|
2025-04-18 20:11:19 -04:00
|
|
|
summary: "\nThe AudioSource component that plays the sound effect.\n"
|
|
|
|
|
example: []
|
2025-04-16 19:57:54 -04:00
|
|
|
syntax:
|
|
|
|
|
content: public AudioSource audioSource
|
|
|
|
|
return:
|
|
|
|
|
type: Global.AudioSource
|
|
|
|
|
content.vb: Public audioSource As AudioSource
|
|
|
|
|
- uid: Music.SoundEffect.#ctor(System.String,AudioSource)
|
|
|
|
|
commentId: M:Music.SoundEffect.#ctor(System.String,AudioSource)
|
|
|
|
|
id: '#ctor(System.String,AudioSource)'
|
|
|
|
|
parent: Music.SoundEffect
|
|
|
|
|
langs:
|
|
|
|
|
- csharp
|
|
|
|
|
- vb
|
|
|
|
|
name: SoundEffect(string, AudioSource)
|
|
|
|
|
nameWithType: SoundEffect.SoundEffect(string, AudioSource)
|
|
|
|
|
fullName: Music.SoundEffect.SoundEffect(string, AudioSource)
|
|
|
|
|
type: Constructor
|
|
|
|
|
source:
|
|
|
|
|
id: .ctor
|
|
|
|
|
path: ''
|
2025-04-18 20:11:19 -04:00
|
|
|
startLine: 1227
|
2025-04-16 19:57:54 -04:00
|
|
|
assemblies:
|
|
|
|
|
- cs.temp.dll
|
|
|
|
|
namespace: Music
|
2025-04-18 20:11:19 -04:00
|
|
|
summary: "\nInitializes a new instance of the <xref href=\"Music.SoundEffect\" data-throw-if-not-resolved=\"false\"></xref> class.\n"
|
|
|
|
|
example: []
|
2025-04-16 19:57:54 -04:00
|
|
|
syntax:
|
|
|
|
|
content: public SoundEffect(string name, AudioSource audioSource)
|
|
|
|
|
parameters:
|
|
|
|
|
- id: name
|
|
|
|
|
type: System.String
|
2025-04-18 20:11:19 -04:00
|
|
|
description: The name of the sound effect.
|
2025-04-16 19:57:54 -04:00
|
|
|
- id: audioSource
|
|
|
|
|
type: Global.AudioSource
|
2025-04-18 20:11:19 -04:00
|
|
|
description: The AudioSource component for the sound effect.
|
2025-04-16 19:57:54 -04:00
|
|
|
content.vb: Public Sub New(name As String, audioSource As AudioSource)
|
|
|
|
|
overload: Music.SoundEffect.#ctor*
|
|
|
|
|
nameWithType.vb: SoundEffect.New(String, AudioSource)
|
|
|
|
|
fullName.vb: Music.SoundEffect.New(String, AudioSource)
|
|
|
|
|
name.vb: New(String, AudioSource)
|
|
|
|
|
references:
|
|
|
|
|
- uid: Music
|
|
|
|
|
commentId: N:Music
|
|
|
|
|
name: Music
|
|
|
|
|
nameWithType: Music
|
|
|
|
|
fullName: Music
|
|
|
|
|
- uid: System.Object
|
|
|
|
|
commentId: T:System.Object
|
|
|
|
|
parent: System
|
|
|
|
|
isExternal: true
|
|
|
|
|
name: object
|
|
|
|
|
nameWithType: object
|
|
|
|
|
fullName: object
|
|
|
|
|
nameWithType.vb: Object
|
|
|
|
|
fullName.vb: Object
|
|
|
|
|
name.vb: Object
|
|
|
|
|
- uid: System
|
|
|
|
|
commentId: N:System
|
|
|
|
|
isExternal: true
|
|
|
|
|
name: System
|
|
|
|
|
nameWithType: System
|
|
|
|
|
fullName: System
|
|
|
|
|
- uid: System.String
|
|
|
|
|
commentId: T:System.String
|
|
|
|
|
parent: System
|
|
|
|
|
isExternal: true
|
|
|
|
|
name: string
|
|
|
|
|
nameWithType: string
|
|
|
|
|
fullName: string
|
|
|
|
|
nameWithType.vb: String
|
|
|
|
|
fullName.vb: String
|
|
|
|
|
name.vb: String
|
|
|
|
|
- uid: Global.AudioSource
|
|
|
|
|
isExternal: true
|
|
|
|
|
name: AudioSource
|
|
|
|
|
nameWithType: AudioSource
|
|
|
|
|
fullName: AudioSource
|
2025-04-18 20:11:19 -04:00
|
|
|
- uid: Music.SoundEffect
|
|
|
|
|
commentId: T:Music.SoundEffect
|
|
|
|
|
name: SoundEffect
|
|
|
|
|
nameWithType: SoundEffect
|
|
|
|
|
fullName: Music.SoundEffect
|
2025-04-16 19:57:54 -04:00
|
|
|
- uid: Music.SoundEffect.#ctor*
|
|
|
|
|
commentId: Overload:Music.SoundEffect.#ctor
|
|
|
|
|
name: SoundEffect
|
|
|
|
|
nameWithType: SoundEffect.SoundEffect
|
|
|
|
|
fullName: Music.SoundEffect.SoundEffect
|
|
|
|
|
nameWithType.vb: SoundEffect.New
|
|
|
|
|
fullName.vb: Music.SoundEffect.New
|
|
|
|
|
name.vb: New
|