Supermarket.Supermarket.ClosestExit C# (CSharp) Méthode

ClosestExit() public méthode

Gets the closest exit zone to the given position.
public ClosestExit ( Vector3 position ) : GameObject
position UnityEngine.Vector3 The position to check against to find the closest exit zone
Résultat UnityEngine.GameObject
        public GameObject ClosestExit(Vector3 position)
        {
            return exits.ClosestZone(position);
        }