Exemplo n.º 1
0
        private IEnumerable <object> FindAllSceneStubs()
        {
            var visited = new HashSet <object>();

            return(UnityObjectUtility.FindObjectsOfTypeIncludingInactive <IAotStubbable>()
                   .SelectMany(aot => aot.GetAotStubs(visited)));
        }
Exemplo n.º 2
0
 private IEnumerable <object> FindAllSceneStubs()
 {
     return(UnityObjectUtility.FindObjectsOfTypeIncludingInactive <IAotStubbable>()
            .SelectMany(aot => aot.aotStubs));
 }