Remove debug LogWarning from SimManager

master
Daniel Lovell 2024-09-30 11:47:09 -07:00
parent 64b542a866
commit 2d97112e51
5 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b00bb4a2208bd164392fce8408d145e7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bd2143c1edb61ab4ab876add0f4ab9f2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0f46139bb9c99e9499af0597ad648f3e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8accc326a00806044a0099b7d98eb9cc
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -173,7 +173,6 @@ public class SimManager : MonoBehaviour {
// Apply the assignments to the missiles // Apply the assignments to the missiles
foreach (var assignment in assignments) { foreach (var assignment in assignments) {
Debug.LogWarning($"Assigning interceptor {assignment.Interceptor} to threat {assignment.Threat}");
assignment.Interceptor.AssignTarget(assignment.Threat); assignment.Interceptor.AssignTarget(assignment.Threat);
_threatDataMap[assignment.Threat].AssignInterceptor(assignment.Interceptor); _threatDataMap[assignment.Threat].AssignInterceptor(assignment.Interceptor);
Debug.Log($"Interceptor {assignment.Interceptor.name} assigned to threat {assignment.Threat.name}"); Debug.Log($"Interceptor {assignment.Interceptor.name} assigned to threat {assignment.Threat.name}");