暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

TestSettings.cs 430B

12345678910111213141516171819
  1. using UnityEngine;
  2. using UnityEngine.AdaptivePerformance;
  3. namespace UnityEngine.AdaptivePerformance.TestPackage
  4. {
  5. [AdaptivePerformanceConfigurationData("Test Settings", Constants.k_SettingsKey)]
  6. public class TestSettings : IAdaptivePerformanceSettings
  7. {
  8. #if !UNITY_EDITOR
  9. internal static TestSettings s_Settings;
  10. public void Awake()
  11. {
  12. s_Settings = this;
  13. }
  14. #endif
  15. }
  16. }