// -------------------------------------------------------------------------------------------------------------------- // // Part of: Photon Unity Networking Demos // // // Used in SlotRacer Demo // // developer@exitgames.com // -------------------------------------------------------------------------------------------------------------------- using UnityEngine; using Photon.Pun.Demo.SlotRacer.Utils; namespace Photon.Pun.Demo.SlotRacer { /// /// Define Slot lanes and grid positions placeholders. /// This is a convenient approach to visually define the lanes and their grid positions without any complicated editors and setup framework. /// public class SlotLanes : MonoBehaviour { /// /// Instance Pointer to access GridPositions /// public static SlotLanes Instance; /// /// The grid positions. /// public SplinePosition[] GridPositions; void Awake() { Instance = this; } } }