QualitySettings.shadows 阴影
public static ShadowQuality shadows;
Description 描述:
要使用的实时阴影类型。
这就决定了应该使用哪种类型的阴影。可用的选项是硬阴影和软阴影、硬阴影和禁用阴影。
参见:QualitySettings.shadows,Light.shadows。
QualitySettings.shadows = ShadowQuality.HardOnly; //Hard Shadows Only.
QualitySettings.shadows = ShadowQuality.All; //Hard and Soft Shadows.
QualitySettings.shadows = ShadowQuality.Disable; //Disable Shadows.