2025-02-21 18:35:51 +00:00

15 lines
397 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FakeProceduralMap : MonoBehaviour
{
[SerializeField] private List<Transform> possibleMaps = new List<Transform>();
[SerializeField] private Transform riftMapPivot;
private void Awake()
{
riftMapPivot.rotation = possibleMaps[Random.Range(0, possibleMaps.Count)].rotation;
}
}