Struct ObjectInitializationData
Contains data used to construct and initialize objects at runtime.
상속된 멤버
네임스페이스: UnityEngine.ResourceManagement.Util
어셈블리: solution.dll
구문
[Serializable]
public struct ObjectInitializationData
프로퍼티
이름 | 설명 |
---|---|
Data | String representation of the data that will be passed to the IInitializableObject.Initialize method of the created object. This is usually a JSON string of the serialized data object. |
Id | The object id. |
ObjectType | The object type that will be created. |
메서드
이름 | 설명 |
---|---|
CreateInstance<TObject>(string) | Create an instance of the defined object. Initialize will be called on it with the id and data if it implements the IInitializableObject interface. |
GetAsyncInitHandle(ResourceManager, string) | Create an instance of the defined object. This will get the AsyncOperationHandle for the async Initialization operation if the object implements the IInitializableObject interface. |
ToString() | Converts information about the initialization data to a formatted string. |