浏览代码

reverted special null check syntax change

/main
Steven Leal 4 年前
当前提交
90ab26c7
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      com.unity.perception/Runtime/Randomization/Randomizers/SampleRandomizers/Randomizers/BackgroundObjectPlacementRandomizer.cs

3
com.unity.perception/Runtime/Randomization/Randomizers/SampleRandomizers/Randomizers/BackgroundObjectPlacementRandomizer.cs


/// </summary>
protected override void OnIterationStart()
{
m_SpawnedObjects ??= new List<GameObject>();
if (m_SpawnedObjects == null)
m_SpawnedObjects = new List<GameObject>();
for (var i = 0; i < layerCount; i++)
{

正在加载...
取消
保存