Welcome to Unity Learning, unity training, Unity Enterprise training and education zone, there are many u3d resources, u3d training videos, u3d tutorials, U3d Frequently asked questions, U3d Project source code, we are committed to creating the industry Unity3d training, learning the first brand.
Assetdatabase.saveassets Saving Resources
static function saveassets (): void
Description Description
Writes all unsaved asset changes to disk.
Writes any unsaved resource changes to the disk.
Assetdatabase.setlabels setting up a label list
static function setlabels (obj : Object, labels : string[]): void
Description Description
Replaces that list of labels in an asset.
Replace the label list for the resource.
Assetdatabase.startassetediting Start Resource Editing
static function startassetediting (): void
Description Description
Begin Asset Importing. This lets your group several asset imports together into one larger import.
Start the resource import. It allows you to combine multiple resources into a larger import.
Assetdatabase.stopassetediting Stop Resource editing
static function stopassetediting (): void
Description Description
Stop Asset Importing. This lets your group several asset imports together into one larger import.
Stop the resource import. This enables you to combine multiple resources into a larger import.
Assetdatabase.validatemoveasset Verifying Mobile Resources
static function validatemoveasset (oldpath : String, NewPath : string): String
Parameters parameters
- OldPathThe path where the asset currently resides
The path where the current resource is located
- NewPathThe path which the asset should is moved to
The path to which the resource should be moved
Returns
String–an empty string, if the asset can be moved, and an error string otherwise. All paths is relative to the project folder. Like: "Assets/mytextures/hello.png"
Returns a String type – if the resource can be moved to return an empty string, the person returns an error string. All paths are relative to the project catalog file. For example, "Assets/mytextures/hello.png".
Description Description
Checks If an asset file can is moved from the one folder to another. (without actually moving the file)
Checks whether a resource file can be moved from one folder to another. (Not really moving this file)
For more highlights, please click http://www.gopedu.com/
Unity3d assetdatabase.setlabels startassetediting Validatemoveasset Grammar Review