protected override int Prepare(ref ObstacleOrientationJob job, float delta) { if (!TryGetFirstInGroup(out m_obstaclesProvider, true)) { throw new System.Exception("No IObstacleProvider or IObstacleSplitProvider in chain !"); } job.m_recompute = m_obstaclesProvider.recompute; job.m_inputObstacleInfos = m_obstaclesProvider.outputObstacleInfos; job.m_referenceObstacles = m_obstaclesProvider.referenceObstacles; job.m_inputObstacles = m_obstaclesProvider.outputObstacles; return(m_obstaclesProvider.outputObstacles.Length); }
protected override void Apply(ref ObstacleOrientationJob job) { }