Version: 2021.2
public void Destroy ();

描述

销毁子系统的此实例。

Also unloads all resources acquired during the initialization step. Call this when you no longer need this instance of a subsystem.

Note: Once a subsystem is Destroyed, script can still hold a reference but calling a method on it will result in a NullArgumentException.