EnemyGenerator.WaypointSystemChangedCallback C# (CSharp) Method

WaypointSystemChangedCallback() public method

public WaypointSystemChangedCallback ( ) : void
return void
    public void WaypointSystemChangedCallback()
    {
        if (enemies != null && enemies.Count > 0)
            {
                foreach (GameObject go in enemies)
                {
                    EnemyController ec = go.GetComponent<EnemyController>();
                    ec.WaypointSystemChangedCallback();
                }
            }
    }