자원 채집 및 반환 기능
텍스트 기능 및 폰트 추가
This commit is contained in:
@@ -121,12 +121,14 @@ namespace Northbound
|
||||
return spawnPoints[spawnIndex].rotation;
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
override public void OnDestroy()
|
||||
{
|
||||
if (NetworkManager.Singleton != null)
|
||||
{
|
||||
NetworkManager.Singleton.OnClientConnectedCallback -= OnClientConnected;
|
||||
}
|
||||
|
||||
base.OnDestroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user