PrefabGenerator.

Destroy(Object) Method

Summary

Destroys the specified `obj`. If it is a UnityEngine.Component, this method destroys its UnityEngine.Component.gameObject instead.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Procedural
Containing Type
PrefabGenerator

Syntax

public override void Destroy(Object obj)

Parameters

Name Type Description
obj Object

Return Value

Type Description
void