Description
The PackageStatus
property of the BaseDropObject
class in the Editor
namespace represents the current status of a package associated with the drop object. This property is a string that can be used to track or display the status of the package, such as whether it is being processed, completed, or has encountered an error.
Usage
To use the PackageStatus
property, you can access it directly from an instance of the BaseDropObject
class. This property is read-write, allowing you to both retrieve the current status and update it as needed.
Example
// Example of accessing and setting the PackageStatus property
// Assume 'dropObject' is an instance of BaseDropObject
BaseDropObject dropObject = new BaseDropObject();
// Retrieve the current package status
string currentStatus = dropObject.PackageStatus;
// Update the package status
if (currentStatus == "Processing")
{
dropObject.PackageStatus = "Completed";
}