Fix missing os import and log init
This commit is contained in:
parent
5e76c68997
commit
dd9d91eab8
@ -8,9 +8,11 @@
|
|||||||
|
|
||||||
import SpriteKit
|
import SpriteKit
|
||||||
import AVFoundation
|
import AVFoundation
|
||||||
|
import os
|
||||||
|
|
||||||
class SoundManager {
|
class SoundManager {
|
||||||
public static var sharedInstance = SoundManager()
|
public static var sharedInstance = SoundManager()
|
||||||
|
let LOG = OSLog.init(subsystem: "SoundManager", category: "SoundManager")
|
||||||
|
|
||||||
var audioPlayer = AVAudioPlayer()
|
var audioPlayer = AVAudioPlayer()
|
||||||
var backgroundMainMenuAudio: URL?
|
var backgroundMainMenuAudio: URL?
|
||||||
|
Loading…
Reference in New Issue
Block a user