suta-togamennwakarann
This commit is contained in:
@@ -43,6 +43,10 @@ public class PlayerStatusManager : MonoBehaviour
|
||||
private float defenseBuffTimer = 0f;
|
||||
private bool isCodingMode = false;
|
||||
|
||||
public GameObject successEffectPrefab;
|
||||
// エフェクトを出す位置(合体したブロックの少し上など)
|
||||
public Transform effectSpawnPoint;
|
||||
|
||||
private List<Animator> pausedAnimators = new List<Animator>();
|
||||
private List<NavMeshAgent> pausedAgents = new List<NavMeshAgent>();
|
||||
|
||||
@@ -178,6 +182,7 @@ public class PlayerStatusManager : MonoBehaviour
|
||||
|
||||
public void ApplyBuffsAndResume(string buff1, string buff2)
|
||||
{
|
||||
Instantiate(successEffectPrefab, effectSpawnPoint.position, effectSpawnPoint.rotation);
|
||||
ActivateBuffByName(buff1);
|
||||
ActivateBuffByName(buff2);
|
||||
ResumeWorldState(consumeGauge: true);
|
||||
|
||||
Reference in New Issue
Block a user