Beispiel #1
0
        protected void LateUpdate()
        {
            if (!danTargetsValid)
            {
                return;
            }

            danAgent.SetDanTarget(danEntryTarget.position, danEndTarget.position);
        }
Beispiel #2
0
        protected void LateUpdate()
        {
            if (!danTargetsValid || danEntryChild == null || danEndChild == null)
            {
                return;
            }

            danAgent.SetDanTarget(danEntryChild.position, danEndChild.position, collisionAgent, isKokan, isOral, isAna);
        }