Documentation

Unity Engine

Unity Engine

Import(ImportOptions)

Imports the package sample into the `Assets` folder.
Read time 1 minuteLast updated 2 months ago

Definition

public bool Import(Sample.ImportOptions options = ImportOptions.None)

Parameters

Custom import options. See Sample.ImportOptions for more information. Note that Sample.ImportOptions are flag attributes, therefore you can set multiple import options using the
|
operator.

Returns

Type

Description

boolReturns true if the import is successful. Returns false otherwise.