diff options
author | chai <chaifix@163.com> | 2020-10-22 23:30:02 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-22 23:30:02 +0800 |
commit | 917e9e0b320775634dc2e710f7deac74fd0822f0 (patch) | |
tree | 637f3cccc80e7738c8a077fa3ff59218b8b18ee8 /Assets/Scripts/Effects/CharacterGhostEffect.cs | |
parent | 8268e4e308bd110dfea4ad849a7ff74e66951349 (diff) |
* amplify shader editor
Diffstat (limited to 'Assets/Scripts/Effects/CharacterGhostEffect.cs')
-rw-r--r-- | Assets/Scripts/Effects/CharacterGhostEffect.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assets/Scripts/Effects/CharacterGhostEffect.cs b/Assets/Scripts/Effects/CharacterGhostEffect.cs index d40adc17..d422c0a7 100644 --- a/Assets/Scripts/Effects/CharacterGhostEffect.cs +++ b/Assets/Scripts/Effects/CharacterGhostEffect.cs @@ -103,7 +103,7 @@ public class CharacterGhostEffect : EffectHandler if (SubmeshShareMaterial) material = Materials[0]; else - material = Materials[j]; + material = Materials[j - start]; Graphics.DrawMesh(ghost.mesh, ghost.matrix, material, gameObject.layer, null, j); } } |