For example for sorting an Array so I don't have to create an extra script node which has to be compiled at every start up just to do
Code: Select all
outputarray = inputarray.OrderBy(i => i).ToArray();
I know this is not the best Example for using Linq, its just my current problem
But I often get to this point where a simple Linq query gives me the output I need.
It is no problem when the query is needed only once.
But with a lot of duplicated Containers, each containing a script, startup can take a very long time, which is bad if you have to load the scenes dynamically.