15 lines
397 B
C#
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;
|
|
}
|
|
}
|