您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
18 行
523 B
18 行
523 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace UnityEngine.Perception.Randomization.Parameters
|
|
{
|
|
/// <summary>
|
|
/// The base class of CategoricalParameters.
|
|
/// </summary>
|
|
[Serializable]
|
|
public abstract class CategoricalParameterBase : Parameter
|
|
{
|
|
[SerializeField] internal List<float> probabilities = new List<float>();
|
|
|
|
internal abstract void AddOption();
|
|
internal abstract void RemoveOption(int index);
|
|
internal abstract void ClearOptions();
|
|
}
|
|
}
|