• Preparing search index...
  • The search index is not available
Source Academy Modules
  • Source Academy Modules
  • unity_academy
  • destroy

Function destroy

  • destroy(gameObjectIdentifier): void
  • Removes a GameObject

    Note that this won't remove the GameObject immediately, the actual removal will happen at the end of the current main cycle loop.

    For more information, see https://docs.unity3d.com/ScriptReference/Object.Destroy.html

    Parameters

    • gameObjectIdentifier: GameObjectIdentifier

      The identifier for the GameObject that you want to destroy.

    Returns void

    • Defined in bundles/unity_academy/functions.ts:225

Settings

Member Visibility

Theme

Source Academy Modules
  • Loading...

Generated using TypeDoc