浏览代码

hide canBeSwitchedByUser flag when not using the power user define

/0.9.0.preview.1_staging
Aryan Mann 3 年前
当前提交
83b360dd
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      com.unity.perception/Runtime/Randomization/Randomizers/Randomizer.cs

3
com.unity.perception/Runtime/Randomization/Randomizers/Randomizer.cs


/// <summary>
/// Some Randomizers should not be disabled by the user as they are critical to the project. E.g. We might want to mark this as false for a foreground objects placement randomizer in some projects
/// </summary>
#if !SCENARIO_CONFIG_POWER_USER
[field: HideInInspector]
#endif
[field: SerializeField]
public bool enabledStateCanBeSwitchedByUser { get; set; } = true;

正在加载...
取消
保存