Adding a ton of materials and textures, and adding terrain!

This commit is contained in:
Matt F 2026-05-26 23:59:57 -07:00
parent 3568936359
commit a911d0f13e
784 changed files with 32877 additions and 707 deletions

View file

@ -103,16 +103,15 @@ namespace TD.Gameplay
public override void OnNetworkSpawn()
{
if (IsServer)
if (Instance != null && Instance != this)
{
if (Instance != null && Instance != this)
{
Debug.LogError("[TowerPlacementManager] Multiple instances detected. " +
"Only one TowerPlacementManager should exist per scene.");
}
Instance = this;
Debug.Log("[TowerPlacementManager] Server ready.");
Debug.LogError("[TowerPlacementManager] Multiple instances detected. " +
"Only one TowerPlacementManager should exist per scene.");
}
Instance = this;
if (IsServer)
Debug.Log("[TowerPlacementManager] Server ready.");
}
public override void OnNetworkDespawn()