unity 6 호환 오류 경고 메시지 제거

This commit is contained in:
정영민
2025-04-16 13:51:42 +09:00
parent 97259690ea
commit 6b7fce3e38
11 changed files with 389 additions and 312 deletions

View File

@@ -19,7 +19,7 @@ namespace CHN
private string simplePath;
public override void AfterAwake()
{
var machines = FindObjectsOfType<Machine>();
var machines = FindObjectsByType<Machine>(FindObjectsSortMode.None);
foreach (var machine in machines)
{
if (string.IsNullOrEmpty(machine.code))