Johnnnnnnn
Johnnnnnnn
CC#
Created by novial on 8/19/2023 in #help
❔ code simplification
Oops, I didn't notice that there's Children list in use that is not shown in the code... confusing for me that an an empty "children" list is passed in and itteration is done over a different "Children" list.
8 replies
CC#
Created by novial on 8/19/2023 in #help
❔ code simplification
Yes, it can be simplified into one line:
public Transform[] AllChildren => new Transform[0];
public Transform[] AllChildren => new Transform[0];
8 replies