Add metadata files for LeanTween assets and update existing prefab references

This commit is contained in:
2025-12-13 02:33:23 +01:00
parent 2381153dbe
commit 471cf45df3
463 changed files with 237904 additions and 73 deletions

View File

@@ -56,6 +56,12 @@ namespace Infrastructure.Unity
if (pickupVfx)
{
var vfx = Instantiate(pickupVfx, transform.position, Quaternion.identity);
var main = vfx.main;
meshRenderer.GetPropertyBlock(_propBlock);
var currentColor = _propBlock.GetColor(ColorProperty);
main.startColor = currentColor;
Destroy(vfx.gameObject, 2f);
}