mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Remove unused finalList
This commit is contained in:
parent
cfeed4dc34
commit
e35e6ac891
@ -51,7 +51,6 @@ namespace NewHorizons.Utility
|
|||||||
public static T FindObjectOfTypeAndName<T>(string name) where T : Object
|
public static T FindObjectOfTypeAndName<T>(string name) where T : Object
|
||||||
{
|
{
|
||||||
T[] firstList = GameObject.FindObjectsOfType<T>();
|
T[] firstList = GameObject.FindObjectsOfType<T>();
|
||||||
List<T> finalList = new List<T>();
|
|
||||||
|
|
||||||
for (var i = 0; i < firstList.Length; i++)
|
for (var i = 0; i < firstList.Length; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user