From 9de0e3f9cb6deb629330c677bd66eb1424ca28ec Mon Sep 17 00:00:00 2001 From: Jackie Liu Date: Tue, 18 Oct 2022 18:47:21 -0700 Subject: [PATCH] Update gitignore --- .gitignore | 4 +++- Assets/Scripts/Pal3/Effect/EffectManager.cs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 689740cd..6927c502 100644 --- a/.gitignore +++ b/.gitignore @@ -76,4 +76,6 @@ crashlytics-build.properties # VFX prefabs that are using the 3rd party passets /Assets/Resources/Prefabs/VFX/PAL3/*.prefab -/Assets/Resources/Prefabs/VFX/PAL3A/*.prefab \ No newline at end of file +/Assets/Resources/Prefabs/VFX/PAL3/*.meta +/Assets/Resources/Prefabs/VFX/PAL3A/*.prefab +/Assets/Resources/Prefabs/VFX/PAL3A/*.meta \ No newline at end of file diff --git a/Assets/Scripts/Pal3/Effect/EffectManager.cs b/Assets/Scripts/Pal3/Effect/EffectManager.cs index e5cb2d14..d0907462 100644 --- a/Assets/Scripts/Pal3/Effect/EffectManager.cs +++ b/Assets/Scripts/Pal3/Effect/EffectManager.cs @@ -78,7 +78,7 @@ namespace Pal3.Effect if (_effectPositionCommand is EffectAttachToActorCommand actorCommand) { - Transform actorTransform = currentScene.GetActorGameObject((byte) actorCommand.ActorId).transform; + Transform actorTransform = currentScene.GetActorGameObject((byte)actorCommand.ActorId).transform; parent.transform.SetParent(actorTransform); parent.transform.localPosition = Vector3.zero; }