private void Play(GameObject controllingObject, InAudioNode audioNode, InPlayer player, float fade, LeanTweenType fadeType) { ObjectAudioList tupleList = GetValue(GOAudioNodes, controllingObject); RuntimeInfo runtimeInfo = runtimeInfoPool.GetObject(); tupleList.InfoList.Add(runtimeInfo); runtimeInfo.Node = audioNode; runtimeInfo.Player = player; runtimeInfo.ListIndex = tupleList.InfoList.Count - 1; runtimeInfo.PlacedIn = tupleList; player._internalPlay(audioNode, controllingObject, runtimeInfo, fade, fadeType); }
private void Play(GameObject controllingObject, InAudioNode audioNode, InPlayer player, float fade, LeanTweenType fadeType, AudioParameters parameters) { var runtimeInfo = PreparePlay(controllingObject, audioNode, player); player._internalPlay(audioNode, controllingObject, runtimeInfo, fade, fadeType, parameters); }
private void Play(GameObject controllingObject, InAudioNode audioNode, InPlayer player, float fade, LeanTweenType fadeType, AudioParameters parameters) { var runtimeInfo = PreparePlay(controllingObject, audioNode, player); player._internalPlay(audioNode, controllingObject, runtimeInfo, fade, fadeType, parameters); }