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:
parent
77c72e2f01
commit
19ac082fed
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d37641bc43aa8a5409199e458d4eabba
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc563a14f212643468c4cd3a2520fa93
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6e2885d269ac0da48a7845117ba29f16
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e0b60ede207833d4190096335996bac5
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4d09f2717174d4f42bcbbf6d496bebe3
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -63,6 +63,7 @@ namespace DanroJump.Editor
|
||||
if (psr != null)
|
||||
{
|
||||
psr.sharedMaterial = material;
|
||||
psr.sortingLayerName = "Vfx";
|
||||
}
|
||||
|
||||
// Общая базовая настройка
|
||||
|
||||
@ -59,5 +59,8 @@ TagManager:
|
||||
- name: Player
|
||||
uniqueID: 325551459
|
||||
locked: 0
|
||||
- name: Vfx
|
||||
uniqueID: 1847192837
|
||||
locked: 0
|
||||
m_RenderingLayers:
|
||||
- Default
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user