Editar

Partilhar via


MigrationTool.TryAddObjectForMigration(Type, Object) Method

Definition

Adds selectedObject to the list of objects to be migrated. Return false if the object is not of type GameObject, or SceneAsset.

public:
 bool TryAddObjectForMigration(Type ^ type, UnityEngine::Object ^ selectedObject);
public bool TryAddObjectForMigration (Type type, UnityEngine.Object selectedObject);
member this.TryAddObjectForMigration : Type * UnityEngine.Object -> bool
Public Function TryAddObjectForMigration (type As Type, selectedObject As Object) As Boolean

Parameters

type
Type
selectedObject
UnityEngine.Object

Returns

Applies to