You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SlotLanes.cs" company="Exit Games GmbH">
// Part of: Photon Unity Networking Demos
// </copyright>
// <summary>
// Used in SlotRacer Demo
// </summary>
// <author>developer@exitgames.com</author>
// --------------------------------------------------------------------------------------------------------------------
using UnityEngine;
using Photon.Pun.Demo.SlotRacer.Utils;
namespace Photon.Pun.Demo.SlotRacer
{
/// <summary>
/// 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.
/// </summary>
public class SlotLanes : MonoBehaviour {
/// <summary>
/// Instance Pointer to access GridPositions
/// </summary>
public static SlotLanes Instance;
/// <summary>
/// The grid positions.
/// </summary>
public SplinePosition[] GridPositions;
void Awake()
{
Instance = this;
}
}
}