ScriptableSingleton<T0>.instance

public static T instance;

Description

Gets the instance of the Singleton. Unity creates the Singleton instance when this property is accessed for the first time. If you use the FilePathAttribute, then Unity loads the data on the first access as well.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答