Class GameObjectConversionSettings
Inheritance
System.Object
GameObjectConversionSettings
Syntax
public class GameObjectConversionSettings
Constructors
GameObjectConversionSettings()
Declaration
public GameObjectConversionSettings()
GameObjectConversionSettings(World, GameObjectConversionUtility.ConversionFlags)
Declaration
public GameObjectConversionSettings(World destinationWorld, GameObjectConversionUtility.ConversionFlags conversionFlags)
Parameters
GameObjectConversionSettings(World, Hash128, GameObjectConversionUtility.ConversionFlags)
Declaration
public GameObjectConversionSettings(World destinationWorld, Hash128 sceneGUID, GameObjectConversionUtility.ConversionFlags conversionFlags)
Parameters
Fields
ConversionFlags
Declaration
public GameObjectConversionUtility.ConversionFlags ConversionFlags
Field Value
ConversionWorldCreated
Declaration
public Action<World> ConversionWorldCreated
Field Value
Type |
Description |
System.Action<World> |
|
ConversionWorldPreDispose
Declaration
public Action<World> ConversionWorldPreDispose
Field Value
Type |
Description |
System.Action<World> |
|
DestinationWorld
Declaration
public World DestinationWorld
Field Value
Declaration
public Type[] ExtraSystems
Field Value
Type |
Description |
System.Type[] |
|
SceneGUID
Declaration
Field Value
Properties
SupportsExporting
Declaration
public bool SupportsExporting { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
CreateConversionWorld()
Declaration
public World CreateConversionWorld()
Returns
GetGuidForAssetExport(Object)
Declaration
public virtual Guid GetGuidForAssetExport(Object uobject)
Parameters
Type |
Name |
Description |
UnityEngine.Object |
uobject |
|
Returns
Type |
Description |
System.Guid |
|
TryCreateAssetExportWriter(Object)
Declaration
public virtual Stream TryCreateAssetExportWriter(Object uobject)
Parameters
Type |
Name |
Description |
UnityEngine.Object |
uobject |
|
Returns
Type |
Description |
System.IO.Stream |
|
Declaration
public GameObjectConversionSettings WithExtraSystem<T>()
Returns
Type Parameters
Declaration
public GameObjectConversionSettings WithExtraSystems(params Type[] extraSystems)
Parameters
Type |
Name |
Description |
System.Type[] |
extraSystems |
|
Returns
Declaration
public GameObjectConversionSettings WithExtraSystems<T1, T2>()
Returns
Type Parameters
Declaration
public GameObjectConversionSettings WithExtraSystems<T1, T2, T3>()
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
Operators
Implicit(Hash128 to GameObjectConversionSettings)
Declaration
public static implicit operator GameObjectConversionSettings(Hash128 sceneGuid)
Parameters
Type |
Name |
Description |
Hash128 |
sceneGuid |
|
Returns
Implicit(World to GameObjectConversionSettings)
Declaration
public static implicit operator GameObjectConversionSettings(World destinationWorld)
Parameters
Type |
Name |
Description |
World |
destinationWorld |
|
Returns