Exemple #1
0
 public void TransitionZone(Zone zone, SpawnPoint spawnPoint, Transition transition)
 {
     StartCoroutine(DoZoneTransition(zone, spawnPoint, transition));
 }
Exemple #2
0
        public ZoneData GetZone(Zone zone)
        {
            var index = zone.Scene.Index;

            return(index >= 0 && index < Zones.Length ? Zones[index] : null);
        }