15 lines
272 B
C#
15 lines
272 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class DisableIfTransitionManager : MonoBehaviour
|
|
{
|
|
void Start()
|
|
{
|
|
if (SceneTransitionManager.IsAvailable())
|
|
{
|
|
Destroy(gameObject);
|
|
}
|
|
}
|
|
}
|