mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
统一命名规范private变量_filedInfo
This commit is contained in:
@@ -281,16 +281,16 @@ namespace GameLogic
|
||||
|
||||
#region 生命周期
|
||||
|
||||
private static bool m_isInit = false;
|
||||
private static bool _isInit = false;
|
||||
|
||||
private static void CheckInit()
|
||||
{
|
||||
if (m_isInit == true)
|
||||
if (_isInit == true)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
m_isInit = true;
|
||||
_isInit = true;
|
||||
|
||||
_updateDriver ??= ModuleSystem.GetModule<IUpdateDriver>();
|
||||
_updateDriver.AddUpdateListener(OnUpdate);
|
||||
@@ -304,12 +304,12 @@ namespace GameLogic
|
||||
|
||||
private static void DeInit()
|
||||
{
|
||||
if (m_isInit == false)
|
||||
if (_isInit == false)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
m_isInit = false;
|
||||
_isInit = false;
|
||||
|
||||
_updateDriver ??= ModuleSystem.GetModule<IUpdateDriver>();
|
||||
_updateDriver.RemoveUpdateListener(OnUpdate);
|
||||
|
Reference in New Issue
Block a user