Unity 6.5 업그레이드와 신규 프로토타입 기반 구축
This commit is contained in:
@@ -108,10 +108,10 @@ namespace Northbound
|
||||
|
||||
private void FindCore()
|
||||
{
|
||||
Core[] cores = FindObjectsByType<Core>(FindObjectsSortMode.InstanceID);
|
||||
if (cores.Length > 0)
|
||||
Core core = FindAnyObjectByType<Core>();
|
||||
if (core != null)
|
||||
{
|
||||
_core = cores[0];
|
||||
_core = core;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user