Description
The PackageIdent
property provides the identifier of the source package for package assets. This identifier is always formatted as org.package[#version]
, where org
is the organization name, package
is the package name, and #version
is the optional version number.
Usage
Use the PackageIdent
property to retrieve the unique identifier of a package asset. This is particularly useful when you need to reference or manage specific versions of a package within the editor environment.
Example
// Example of accessing the PackageIdent property
Editor.DragAssetData dragAssetData = new Editor.DragAssetData();
string packageIdentifier = dragAssetData.PackageIdent;
// Output the package identifier
// Note: Replace with appropriate logging or handling in your application
// e.g., Log.Info(packageIdentifier);