Example #1
0
        void Start()
        {
            steeringBasics  = GetComponent <SteeringBasics>();
            hide            = GetComponent <Hide>();
            obstacleSpawner = GameObject.Find("ObstacleSpawner").GetComponent <Spawner>();

            wallAvoid = GetComponent <WallAvoidance>();
        }
Example #2
0
        void Start()
        {
            path.CalcDistances();

            steeringBasics = GetComponent<SteeringBasics>();
            wallAvoidance = GetComponent<WallAvoidance>();
            followPath = GetComponent<FollowPath>();
        }