Version: 2023.2
言語: 日本語
public static void SetGameObjectsActive (NativeArray<int> instanceIDs, bool active);
public static void SetGameObjectsActive (ReadOnlySpan<int> instanceIDs, bool active);

パラメーター

instanceIDs Instance IDs of GameObjects to activate or deactive.
active Activate or deactivate the objects, where true activates the GameObjects and false deactivates the GameObjects.

説明

Activates/Deactivates the GameObjects by instance ID, depending on the given true or false value.