PlatformConditionAttribute
A class in Alta.Attributes, the global namespace.
Inspector attribute that marks a field as only relevant on certain platforms, either from PlatformFlags or an Android or desktop flag.
- Listed in Other Alta assemblies
- Inherits or implements
PropertyAttribute
Constructors
| Member | What it is |
|---|---|
PlatformConditionAttribute(PlatformFlags runtime) | Creates a PlatformConditionAttribute from isAndroid. |
PlatformConditionAttribute(bool isAndroid) | Creates a PlatformConditionAttribute from isAndroid. |
Properties
| Member | What it is |
|---|---|
PlatformFlags Runtime { get; } | The platforms the field applies to. The bool constructor gives Android, or Windows and Linux. |