- Turned multi job reward button click into a whole new content - Rift raids open up on multijob completion, allowing players to dive deep and take action into the rifts themselves
16 lines
460 B
C#
16 lines
460 B
C#
using Photon.Pun;
|
|
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()
|
|
{
|
|
if (PhotonNetwork.IsMasterClient)
|
|
riftMapPivot.rotation = possibleMaps[Random.Range(0, possibleMaps.Count)].rotation;
|
|
}
|
|
}
|