guodong 1 年間 前
コミット
9ea5e2e20e

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Data/ItemDataManager.cs

@@ -198,7 +198,7 @@ namespace GFGGame
             _dataDic.Clear();
             foreach (ItemInfoProto roleItem in items)
             {
-                //LogHelper.LogEditor($"ItemDataManager InitServerData {roleItem.ConfigId}");
+                //LogUtil.LogEditor($"ItemDataManager InitServerData {roleItem.ConfigId}");
                 Add(roleItem);
             }
             DressUpMenuItemDataManager.StartPreLoadItemCfg();

+ 7 - 7
GameClient/Assets/Game/HotUpdate/DressUp/DressUpLayerOperation.cs

@@ -41,7 +41,7 @@ namespace GFGGame
 
         public void InitLayer(ItemCfg itemCfg, int layerId)
         {
-            //LogHelper.LogEditor($"add InitLayer {itemCfg.id} layerId {layerId}");
+            //LogUtil.LogEditor($"add InitLayer {itemCfg.id} layerId {layerId}");
             this.itemCfg = itemCfg;
             this.layerId = layerId;
             actionType = EAction.Layer;
@@ -49,13 +49,13 @@ namespace GFGGame
 
         public void InitBody()
         {
-            //LogHelper.LogEditor("update InitBody");
+            //LogUtil.LogEditor("update InitBody");
             actionType = EAction.Body;
         }
 
         public void InitHead()
         {
-            //LogHelper.LogEditor("update InitHead");
+            //LogUtil.LogEditor("update InitHead");
             actionType = EAction.Head;
         }
         internal override bool CheckRepeated(DressUpOperationBase t)
@@ -177,7 +177,7 @@ namespace GFGGame
             }
             if(_steps == EDressUpSteps.PreDrawing)
             {
-                //LogHelper.LogEditor($"preRendering {preRendering}    {resPath} {TimeHelper.ClientNow()}");
+                //LogUtil.LogEditor($"preRendering {preRendering}    {resPath} {TimeHelper.ClientNow()}");
                 if (preRendering <= 0)
                 {
                     _steps = EDressUpSteps.Done;
@@ -231,7 +231,7 @@ namespace GFGGame
                     preRendering = PRE_RENDER_FRAME;
                     //预渲染
                     PrefabManager.Instance.PreDraw(resPath);
-                    //LogHelper.LogEditor($"PreDraw    {resPath} {TimeHelper.ClientNow()}");
+                    //LogUtil.LogEditor($"PreDraw    {resPath} {TimeHelper.ClientNow()}");
                     return;
                 }
             }
@@ -242,7 +242,7 @@ namespace GFGGame
 
         private void UpdateLayer()
         {
-            //LogHelper.LogEditor($"add UpdateLayer {itemCfg.id} layerId {layerId}");
+            //LogUtil.LogEditor($"add UpdateLayer {itemCfg.id} layerId {layerId}");
             int sortingOrder = ItemTypeCfgArray.Instance.GetSortingOrder(itemCfg.subType, layerId);
             //清理旧的
             var spritObjName = string.Format(DressUpUtil.FORMAT_SPRITE_NAME, itemCfg.subType, layerId);
@@ -272,7 +272,7 @@ namespace GFGGame
 
         private void UpdateBody()
         {
-            //LogHelper.LogEditor("update UpdateBody");
+            //LogUtil.LogEditor("update UpdateBody");
             var spritObjName = DressUpUtil.BODY_SPRITE_NAME;
             var aniObjName = DressUpUtil.BODY_ANIMATION_NAME;
             var effectObjName = DressUpUtil.BODY_EFFECT_OBJ_NAME;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/DressUp/DressUpObj.cs

@@ -709,7 +709,7 @@ namespace GFGGame
                         handler.Release();
                     }
                     onUpdateAction?.Invoke();
-                    //LogHelper.LogEditor($"draw    {TimeHelper.ClientNow()}");
+                    //LogUtil.LogEditor($"draw    {TimeHelper.ClientNow()}");
                 }
             }
         }

+ 2 - 2
GameClient/Assets/Game/HotUpdate/DressUp/DressUpRemoveOperation.cs

@@ -13,7 +13,7 @@ namespace GFGGame
         {
             this.itemID = itemID;
             this.parentObj = parentObj;
-            //LogHelper.LogEditor($"remove init {itemID}");
+            //LogUtil.LogEditor($"remove init {itemID}");
         }
 
         internal override void Release()
@@ -59,7 +59,7 @@ namespace GFGGame
                 this.Release();
                 return;
             }
-            //LogHelper.LogEditor($"remove UpdateView {itemID}");
+            //LogUtil.LogEditor($"remove UpdateView {itemID}");
             DressUpUtil.RemoveItem(this.itemID, this.parentObj);
         }
     }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/DressUp/DressUpUtil.cs

@@ -420,7 +420,7 @@ namespace GFGGame
                     var spr = gameObj.GetComponent<SpriteRenderer>();
                     if(spr != null)
                     {
-                        //LogHelper.LogEditor($"TryRemoveSprite {objName}");
+                        //LogUtil.LogEditor($"TryRemoveSprite {objName}");
                         SpriteHelper.RemoveSpriteFrom(spr);
                         gameObj.SetActive(false);
                     }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GFGGLoader.cs

@@ -11,7 +11,7 @@ namespace GFGGame
 
         protected override void LoadExternal()
         {
-            //LogHelper.LogEditor($"GFGGLoader this.url {this.url}");
+            //LogUtil.LogEditor($"GFGGLoader this.url {this.url}");
             if (!YooAssets.CheckResExist(this.url))
             {
                 return;

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Common/Alert/AlertWindow.cs

@@ -163,7 +163,7 @@ namespace GFGGame
             if (this._ui != null)
             {
                 this._ui.m_txtContent.text = m_content;
-                // LogHelper.LogEditor("alert height=" + this._ui.m_txtContent.textHeight + " size=" + this._ui.m_txtContent.textFormat.size);
+                // LogUtil.LogEditor("alert height=" + this._ui.m_txtContent.textHeight + " size=" + this._ui.m_txtContent.textFormat.size);
                 if (this._ui.m_txtContent.textHeight > this._ui.m_txtContent.textFormat.size * 2)
                 {
                     this._ui.m_txtContent.align = AlignType.Left;
@@ -182,7 +182,7 @@ namespace GFGGame
             if (this._ui != null)
             {
                 this._ui.m_txtTips.text = m_tips;
-                // LogHelper.LogEditor("alert height=" + this._ui.m_txtContent.textHeight + " size=" + this._ui.m_txtContent.textFormat.size);
+                // LogUtil.LogEditor("alert height=" + this._ui.m_txtContent.textHeight + " size=" + this._ui.m_txtContent.textFormat.size);
                 if (this._ui.m_txtTips.textHeight > this._ui.m_txtTips.textFormat.size * 2)
                 {
                     this._ui.m_txtTips.align = AlignType.Left;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -861,7 +861,7 @@ namespace GFGGame
         {
             LogUtil.LogEditor($"MainUIView OnRedDotChanged GameGlobal.AfterDataInited {GameGlobal.AfterDataInited} AutoShowCompleted {AutoShowCompleted}");
             //暂时用这种方法优化下,红点的实现要重构!!!
-            //LogHelper.LogEditor("MainUIView UpdateRedDot OnRedDotChanged");
+            //LogUtil.LogEditor("MainUIView UpdateRedDot OnRedDotChanged");
             redPointUpdateFrame = 0;
         }
 

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/ViewManager.cs

@@ -344,7 +344,7 @@ namespace GFGGame
         }
         private static object CreateViewInstance(string name)
         {
-            //LogHelper.LogFormatDev("CreateViewInstance {0}", name);
+            //LogUtil.LogFormatDev("CreateViewInstance {0}", name);
             Type type = Type.GetType(name);
             if (type != null)
             {