This commit is contained in:
Nick 2022-12-30 11:42:31 -05:00
commit 7681b0d2f2
16 changed files with 27 additions and 19 deletions

View File

@ -151,7 +151,7 @@ namespace NewHorizons.Builder.Body
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{parentPath}");
}
}

View File

@ -194,6 +194,10 @@ namespace NewHorizons.Builder.Props
{
prop.transform.parent = newParent.transform;
}
else
{
Logger.LogError($"Cannot find parent object at path: {go.name}/{detail.parentPath}");
}
}
if (detail.isRelativeToParent)

View File

@ -47,6 +47,10 @@ namespace NewHorizons.Builder.Props
remoteTrigger.transform.parent = parent;
}
}
else
{
Logger.LogError($"Cannot find parent object at path: {go.name}/{info.parentPath}");
}
}
// Make the character look at the player

View File

@ -31,7 +31,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -166,7 +166,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}
@ -262,7 +262,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}
@ -324,7 +324,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}
@ -428,7 +428,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}
@ -537,7 +537,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -118,7 +118,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}
@ -214,7 +214,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -65,7 +65,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -265,7 +265,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {go.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {go.name}/{info.parentPath}");
}
}

View File

@ -122,7 +122,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -59,7 +59,7 @@ namespace NewHorizons.Builder.Props
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -24,7 +24,7 @@ namespace NewHorizons.Builder.ShipLog
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {go.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {go.name}/{info.parentPath}");
}
}

View File

@ -56,7 +56,7 @@ namespace NewHorizons.Builder.ShipLog
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -32,7 +32,7 @@ namespace NewHorizons.Builder.Volumes
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -35,7 +35,7 @@ namespace NewHorizons.Builder.Volumes
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -28,7 +28,7 @@ namespace NewHorizons.Builder.Volumes
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}

View File

@ -28,7 +28,7 @@ namespace NewHorizons.Builder.Volumes
}
else
{
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
Logger.LogError($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
}
}