浏览代码

awake and start only active randomizers

/generic-asset-sources
sleal-unity 4 年前
当前提交
57cda61f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs

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


#endif
DeserializeConfiguration();
OnAwake();
foreach (var randomizer in m_Randomizers)
foreach (var randomizer in activeRandomizers)
randomizer.Awake();
ValidateParameters();
}

{
state = State.Playing;
OnStart();
foreach (var randomizer in m_Randomizers)
foreach (var randomizer in activeRandomizers)
randomizer.ScenarioStart();
IterationLoop();
}

正在加载...
取消
保存