Beispiel #1
0
    protected override RenderScene Apply(SIGProcessingContext context)
    {
        List <GameObject> results = new List <GameObject>();

        foreach (var go in input)
        {
            var result = Find(go.transform, searchName, recurse);
            if (result != null)
            {
                results.Add(result.gameObject);
            }
        }

        return(RenderScene.FromList(results));
    }