浏览代码

Some small fixes post merge

/fod_generator_randomization_changes
Steven Borkman 4 年前
当前提交
a0db5c1b
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 2
      com.unity.perception/Runtime/Randomization/Randomizers/Randomizer.cs
  2. 1
      com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs
  3. 3
      com.unity.perception/Runtime/Randomization/Scenarios/UnitySimulationScenario.cs

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


/// </summary>
protected virtual void OnScenarioComplete() { }
protected virtual void OnScenarioStart() { }
/// <summary>
/// OnIterationStart is called at the start of a new Scenario iteration
/// </summary>

1
com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs


protected virtual void OnEnable()
{
activeScenario = this;
currentIteration = (int)genericConstants.startFrame;
}
/// <summary>

3
com.unity.perception/Runtime/Randomization/Scenarios/UnitySimulationScenario.cs


}
else
base.OnConfigurationImport();
currentIteration = constants.instanceIndex;
currentIteration = (int)constants.startFrame;
}
/// <inheritdoc/>

正在加载...
取消
保存