Fix bug cant logout and Buff icon not update
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 94ae88742bf5484ea9a61c2f850f9e18
|
||||
timeCreated: 1772424967
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: -20
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@@ -14,7 +14,7 @@ using UnityEngine;
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public partial class CECObject : MonoBehaviour, ITickable
|
||||
public partial class CECObject : MonoBehaviour
|
||||
{
|
||||
protected static int ALPHA_HASH = Shader.PropertyToID("_Alpha");
|
||||
protected Quaternion targetRotation;
|
||||
@@ -77,7 +77,6 @@ public partial class CECObject : MonoBehaviour, ITickable
|
||||
|
||||
public virtual void SetUpCECObject()
|
||||
{
|
||||
TickInvoker.Instance.RegisterTickable(this);
|
||||
m_dwBornStamp = 0;
|
||||
m_bBornInSight = false;
|
||||
//m_bSelectable = false;
|
||||
@@ -95,11 +94,6 @@ public partial class CECObject : MonoBehaviour, ITickable
|
||||
m_vecGroundNormal = Normalize(m_vecGroundNormal * 0.85f + m_vecGroundNormalSet * 0.15f);
|
||||
return true;
|
||||
}
|
||||
protected virtual void OnDestroy()
|
||||
{
|
||||
TickInvoker.Instance.UnregisterTickable(this);
|
||||
}
|
||||
|
||||
// Set absolute forward and up direction
|
||||
public virtual void SetDirAndUp(Vector3 vDir, Vector3 vUp)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ using Cysharp.Threading.Tasks;
|
||||
namespace BrewMonster.Scripts
|
||||
{
|
||||
// CECHostNavigatePlayer class - Basic implementation for navigation player // CECHostNavigatePlayer类 - 导航玩家的基本实现
|
||||
public class CECHostNavigatePlayer : CECClonePlayer
|
||||
public class CECHostNavigatePlayer : CECClonePlayer, ITickable
|
||||
{
|
||||
protected CECNavigateCtrl m_pNavigateCtrl; // Force navigate // 强制导航
|
||||
protected CECHostPlayer m_pHostPlayer = null; // Reference to host player // 对宿主玩家的引用
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace BrewMonster
|
||||
EventBus.Unsubscribe<cmd_self_info_00>(UpdateHostPlayerInfoUI);
|
||||
EventBus.Unsubscribe<CECHostPlayer.InfoHostPlayer>(UpdateNameHostPlayer);
|
||||
EventBus.Unsubscribe<CECHostPlayer.EXPToUpLevel>(UpdateNeededExp);
|
||||
TickInvoker.Instance.UnregisterTickable(this);
|
||||
}
|
||||
|
||||
public bool Tick(uint dwDeltaTime)
|
||||
|
||||
Reference in New Issue
Block a user