GetScene(int)
Retrieves the Scene which contains the GameObject with the specified instance ID.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static Scene GetScene(int instanceID)
Parameters
The instance ID of the GameObject.
Returns
Type | Description |
|---|---|
| Scene | The Scene the GameObject with the specified instance ID is part of. |