The TypeName
property of the Package
class provides information about the type of package. This property is a string that describes what kind of package it is, such as a game, asset, or tool.
The TypeName
property of the Package
class provides information about the type of package. This property is a string that describes what kind of package it is, such as a game, asset, or tool.
To access the TypeName
property, you need to have an instance of the Package
class. You can then retrieve the type of the package by accessing this property.
// Example of accessing the TypeName property // Assume 'package' is an instance of Sandbox.Package string packageType = package.TypeName; // Output the type of the package // Console.WriteLine(packageType); // Avoid using Console.WriteLine in Sandbox environment