Mine Launcher: the 2021 damage curve; a mine layer is mountless in EveryCatalogGunTracks; script metas
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8b2147a5f7
commit
3b41267bee
5 changed files with 10 additions and 3 deletions
|
|
@ -84,6 +84,7 @@ public static class WireMines
|
|||
if (AssetDatabase.TryGetGUIDAndLocalFileIdentifier(asset, out _, out long id) && id == fileId)
|
||||
return asset;
|
||||
if (assets.Length == 1) return assets[0];
|
||||
throw new System.InvalidOperationException($"No {typeof(T).Name} with file id {fileId} in {path}");
|
||||
throw new System.InvalidOperationException($"No {typeof(T).Name} with file id {fileId} in {path}; it holds " +
|
||||
string.Join(", ", AssetDatabase.LoadAllAssetsAtPath(path).Select(a => $"{a.GetType().Name} {a.name}")));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
Assets/Scripts/Editor/WireMines.cs.meta
Normal file
2
Assets/Scripts/Editor/WireMines.cs.meta
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ecae11055e2a7a04cace71a05965ae88
|
||||
2
Assets/Scripts/Gameplay/MineInstance.cs.meta
Normal file
2
Assets/Scripts/Gameplay/MineInstance.cs.meta
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 35c62f5e26769f645b1a1614a70422e1
|
||||
Loading…
Reference in a new issue