Create Vfx sorting layer and configure Particle System generator to use it

Подробный список изменений:
- В ProjectSettings/TagManager.asset добавлен новый слой сортировки Vfx на самом переднем плане (после Player).
- В VfxGeneratorEditor.cs добавлено назначение sortingLayerName = 'Vfx' для ParticleSystemRenderer при генерации префабов эффектов частиц.
- Удалены старые префабы VFX, чтобы они автоматически пересоздались с новым слоем сортировки и отображались поверх персонажей и платформ.
This commit is contained in:
Данил Ярош 2026-07-03 16:11:58 +03:00
parent 77c72e2f01
commit 19ac082fed
12 changed files with 4 additions and 24515 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: d37641bc43aa8a5409199e458d4eabba
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: fc563a14f212643468c4cd3a2520fa93
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 6e2885d269ac0da48a7845117ba29f16
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: e0b60ede207833d4190096335996bac5
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 4d09f2717174d4f42bcbbf6d496bebe3
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -63,6 +63,7 @@ namespace DanroJump.Editor
if (psr != null)
{
psr.sharedMaterial = material;
psr.sortingLayerName = "Vfx";
}
// Общая базовая настройка

View File

@ -59,5 +59,8 @@ TagManager:
- name: Player
uniqueID: 325551459
locked: 0
- name: Vfx
uniqueID: 1847192837
locked: 0
m_RenderingLayers:
- Default