Version: 2022.1
public void Destroy ();

描述

销毁子系统的此实例。

此外,卸载在初始化步骤中获得的所有资源。应在不再需要子系统的此实例时调用。

Note: Once a Subsystem is Destroyed, script can still hold a reference but calling a method on it will result in a NullArgumentException and output in the console.