Преглед на файлове

删除几个无用的标签属性

大爷 преди 1 година
родител
ревизия
3f7010b1c4

+ 1 - 1
Unity/Assets/Scripts/Codes/Hotfix/Share/Init/EntryEvent1_InitShare.cs

@@ -1,6 +1,6 @@
 namespace ET
 {
-    [Event(SceneType.Process)]
+    [Event]
     public class EntryEvent1_InitShare: BEvent<EventType.EntryEvent1>
     {
         protected override async ETTask OnEvent(EventType.EntryEvent1 args)

+ 1 - 1
Unity/Assets/Scripts/Codes/HotfixView/Client/UI/UILogin/LoginFinish_RemoveLoginUI.cs

@@ -3,7 +3,7 @@ using Sirenix.Utilities;
 
 namespace ET.Client
 {
-    [Event(SceneType.Client)]
+    [Event]
     public class LoginFinish_RemoveLoginUI : BEvent<EventType.LoginFinish>
     {
         protected override async ETTask OnEvent(EventType.LoginFinish args)

+ 1 - 1
Unity/Assets/Scripts/Codes/HotfixView/Client/Unit/OnChangeModelEvent.cs

@@ -1,7 +1,7 @@
 using ET;
 using ET.Client;
 
-[Event(SceneType.None)]
+[Event]
 public class ChangeModelEventHandler : BEvent<ET.EventType.ChangeModeEvent>
 {
     protected override async ETTask OnEvent(ET.EventType.ChangeModeEvent args)

+ 1 - 1
Unity/Assets/Scripts/Codes/HotfixView/Client/Unit/OnDestroyZoneObject.cs

@@ -3,7 +3,7 @@ using UnityEngine;
 
 namespace ET.Client
 {
-    [Event(SceneType.Current)]
+    [Event]
     public class OnDestroyZoneObjectHandler : BEvent<EventType.OnDestroyZoneObject>
     {
         protected override async ETTask OnEvent( EventType.OnDestroyZoneObject args)

+ 1 - 1
Unity/Assets/Scripts/Codes/HotfixView/Client/Unit/OnNewZoneObject.cs

@@ -6,7 +6,7 @@ using UnityEngine;
 
 namespace ET.Client
 {
-    [Event(SceneType.None)]
+    [Event]
     [FriendOfAttribute(typeof(ET.Client.UnitRenderComponet))]
     public class OnNewZoneObjectHandler : BEvent<EventType.OnNewZoneObject>
     {