HartoukChartEditor/Assets/Script/Manager/Teleport.cs

14 lines
295 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Teleport : MonoBehaviour
{
public string sceneFrom;
public string sceneToGo;
public void TeleportToSence()
{
TransitionManager.Instance.Transition(sceneFrom, sceneToGo);
}
}