From d597f340f934866e69a460bacb954a1b38057742 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 15 十一月 2018 10:53:44 +0800
Subject: [PATCH] 4792 (只在master)原随包的配置全部支持热更新。

---
 System/Sound/SoundPlayer.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/System/Sound/SoundPlayer.cs b/System/Sound/SoundPlayer.cs
index 3872535..57a3355 100644
--- a/System/Sound/SoundPlayer.cs
+++ b/System/Sound/SoundPlayer.cs
@@ -45,7 +45,7 @@
 
     public static void CreateSoundPlayer()
     {
-        var gameObject = GameObject.Instantiate(Resources.Load<GameObject>("Prefabs/SoundPlayer"));
+        var gameObject = GameObject.Instantiate(BuiltInLoader.LoadPrefab("SoundPlayer"));
         Instance = gameObject.GetComponent<SoundPlayer>();
         Instance.name = "SoundPlayer";
         Instance.gameObject.SetActive(true);

--
Gitblit v1.8.0