mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 03:28:26 +00:00
use name instead of gameObject.name
This commit is contained in:
parent
6b011d8acd
commit
ab8429e543
@ -225,7 +225,7 @@ public class FourChoicePopupMenu : Menu
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.LogError("Cannot disable Menu unless it is on the top the MenuLayerManager stack. Current menu on top: " + MenuStackManager.SharedInstance.Peek().gameObject.name);
|
||||
Debug.LogError("Cannot disable Menu unless it is on the top the MenuLayerManager stack. Current menu on top: " + MenuStackManager.SharedInstance.Peek().name);
|
||||
}
|
||||
|
||||
public override void Activate()
|
||||
|
@ -203,7 +203,7 @@ public class ThreeChoicePopupMenu : Menu
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.LogError("Cannot disable Menu unless it is on the top the MenuLayerManager stack. Current menu on top: " + MenuStackManager.SharedInstance.Peek().gameObject.name);
|
||||
Debug.LogError("Cannot disable Menu unless it is on the top the MenuLayerManager stack. Current menu on top: " + MenuStackManager.SharedInstance.Peek().name);
|
||||
}
|
||||
|
||||
public override void Activate()
|
||||
|
@ -43,7 +43,7 @@ public class PlayerTransformSync : SectoredTransformSync
|
||||
if (QSBPlayerManager.PlayerList.Any(x => x.TransformSync == this))
|
||||
{
|
||||
// this really shouldnt happen...
|
||||
DebugLog.ToConsole($"Error - A PlayerInfo already exists with TransformSync {gameObject.name}", MessageType.Error);
|
||||
DebugLog.ToConsole($"Error - A PlayerInfo already exists with TransformSync {name}", MessageType.Error);
|
||||
Destroy(this);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user