синхрон шгов с шейдером

This commit is contained in:
lapich committed 2026-10-21 14:06:44 +03:00
1 parent 9245409fc9
commit 7fba61f7a0
5 files changed
+268 -39

No files matched your search

+8
View File
@@ -149,6 +149,14 @@ public static class CharacterSetup
EditorUtility.SetDirty(pg);
}
var echo = player.GetComponent<EchoTrigger>();
if (echo != null)
{
echo.playerAnimator = animator;
echo.FindFootBones();
EditorUtility.SetDirty(echo);
}
// 9. Проверяем CameraFollow на главной камере
if (Camera.main != null)
{