ObjectSpawner.GetSpawnLocation C# (CSharp) Method

GetSpawnLocation() private method

private GetSpawnLocation ( int val ) : Vector3
val int
return Vector3
	Vector3 GetSpawnLocation( int val )
	{
		switch( val )
		{
		case 0:
			return leftSpawnPoint.position;
		case 1:
			return midSpawnPoint.position;
		case 2:
			return rightSpawnPoint.position;
		default:
			Debug.LogError("WTF");
			return Vector3.zero;
		}
	}
}