コード例 #1
0
        protected override void Prepare(ref ObstacleFixJob 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_referenceObstacles = m_obstaclesProvider.referenceObstacles;
            job.m_inputObstacles     = m_obstaclesProvider.outputObstacles;
        }
コード例 #2
0
 protected override void Apply(ref ObstacleFixJob job)
 {
 }