C# 클래스 AudioCategory, swip3

파일 보기 프로젝트 열기: unit9/swip3 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AudioItems AudioItem[],
AudioObjectPrefab GameObject
Name string

공개 메소드들

메소드 설명
AudioCategory ( AudioController, audioController ) : System

Instantiates an AudioCategory

비공개 메소드들

메소드 설명
_AnalyseAudioItems ( AudioItem>.Dictionary audioItemsDict ) : void
_ApplyVolumeChange ( ) : void
_GetIndexOf ( AudioItem, audioItem ) : int
_IsCategoryParentOf ( AudioCategory, toTest, AudioCategory, parent ) : bool

메소드 상세

AudioCategory() 공개 메소드

Instantiates an AudioCategory
public AudioCategory ( AudioController, audioController ) : System
audioController AudioController, The the category belongs to.
리턴 System

프로퍼티 상세

AudioItems 공개적으로 프로퍼티

Define your AudioItems using Unity inspector.
public AudioItem[], AudioItems
리턴 AudioItem[],

AudioObjectPrefab 공개적으로 프로퍼티

Allows to define a specific audio object prefab for this category. If none is defined, the default prefab as set by AudioController.AudioObjectPrefab is taken.
This way you can e.g. use special effects such as the reverb filter for a specific category. Just add the respective filter component to the specified prefab.
public GameObject AudioObjectPrefab
리턴 GameObject

Name 공개적으로 프로퍼티

The name of category ( = categoryID )
public string Name
리턴 string