以下のスクリプトを適当なオブジェクトにもたせれて実行すれば、
例えば、EventSystem、Rigidbodyをもつオブジェクトを取得し、
Inspectorから把握することができます。
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
namespace UnityEngine.EventSystems
{
public class FindObjects : MonoBehaviour
{
public Rigidbody[] RObjects;
public EventSystem[] EObjects;
void Start()
{
RObjects = FindObjectsOfType<EventSystem>();
EObjects = FindObjectsOfType<Rigidbody>();
}
}
}
EventSystemはシーンに複数あると警告が出まくりますので、
そういった解決の際に試すと良いでしょう~。
スポンサーリンク
