FiE-Game/Assets/Scripts/Fie/LevelObject/FieLevelObjectInfiniGrass.cs

23 lines
326 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using UnityEngine;
namespace Fie.LevelObject
{
public class FieLevelObjectInfiniGrass : MonoBehaviour
{
private void Awake()
{
switch (QualitySettings.GetQualityLevel())
{
case 1:
case 2:
case 3:
case 4:
break;
default:
UnityEngine.Object.Destroy(base.gameObject);
break;
}
}
}
}