Files
HauntedBloodlines/Assets/Scripts/UpdatePlayerParent.cs
2025-05-29 22:31:40 +03:00

15 lines
371 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UpdatePlayerParent : MonoBehaviour
{
[SerializeField] private Transform PlayerParent;
public void UpdateNowPlayerParent()
{
CutscenesManager.GetInstance()._playerParent = PlayerParent;
CutscenesManager.GetInstance().UpdatePlayerParent();
}
}