Example #1
0
    private void Start()
    {
        EnemyPath ep = FindObjectOfType <EnemyPath>();

        if (ep)
        {
            patrolPaths = ep.GetPaths();
        }
        EnemyPathLineUp eplu = FindObjectOfType <EnemyPathLineUp>();

        if (eplu)
        {
            lineUpPath = eplu.GetPaths();
        }
    }