Custom classes cannot be displayed in the Inspector panel, so you need to serialize the class, but there is a bug appeared at this moment, when I selected the Inspector panel mount script objects, scripts run normally, not selected assignments will fail, how to solve ah