|
@@ -4,7 +4,7 @@ using UnityEngine;
|
|
|
|
|
|
namespace GFGGame
|
|
|
{
|
|
|
- public class ViewGlobal : MonoBehaviour
|
|
|
+ public class ViewGlobal
|
|
|
{
|
|
|
private static UI_ComHolder comHolder;
|
|
|
private static GameObject _gameObj;
|
|
@@ -16,7 +16,7 @@ namespace GFGGame
|
|
|
{
|
|
|
comHolder = UI_ComHolder.Create();
|
|
|
comHolder.target.touchable = false;
|
|
|
- ViewManager.AddChildToTopLayer(comHolder.target);
|
|
|
+ ViewManager.AddChildToFloatLayer(comHolder.target);
|
|
|
comHolder.target.SetPosition(-100, -100, 0);
|
|
|
|
|
|
string resPath = ResPathUtil.GetViewEffectPath("ui_dj", "ui_dj");
|