Cleanup compile warnings, cleanup logs, spruce up level selection menu
This commit is contained in:
@@ -35,6 +35,11 @@ namespace AppleHills
|
||||
public static float GetPlayerStopDistance()
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
if (getPlayerStopDistanceProvider == null)
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
if (!Application.isPlaying && getPlayerStopDistanceProvider != null)
|
||||
{
|
||||
return getPlayerStopDistanceProvider();
|
||||
|
||||
Reference in New Issue
Block a user