Classes | |
class | AmmunitionTypeEditor |
Example showing usage of DefaultExposedMemberEditor to display instances of the WeaponType class. | |
class | AmmunitionTypePropertyDrawer |
We don't NEED to declare a custom property drawer for WeaponType objects: We already have a DefaultExposedPropertyExpandablePropertyDrawer for the base class ofWeaponType , InventoryObjectType. | |
class | InventoryObjectType |
Example of a ScriptableObject base class that implements ExposeMember. | |
class | InventoryTypeEditor |
Shows how to use the DefaultExposedMemberEditor class to draw all the ExposedMembers in InventoryObjectType objects. | |
class | ObjectSize |
Simple serializable object example. This class cannot be stored as an asset, but can be serialized as Part of an asset. Shows ExposedMember attribute being applied to field, properties(accessors), and functions. | |
class | ObjectSizePropertyDrawer |
Example usage of DefaultExposedPropertyExpandablePropertyDrawer for drawing ObjectSize references with foldout details. | |
class | Rank |
Example ScriptableObject implementing ExposeMember. | |
class | RankEditor |
Example usage of DefaultExposedMemberEditor to draw Rank objects Example file source code. Notice the Example Editor is derived from DefaultExposedMemberEditor, and the Rank type is specified in the CustomEditor Attribute's parameter. | |
class | RankPropertyDrawer |
Example usage of DefaultExposedPropertyExpandablePropertyDrawer for drawing Rank references with details-foldout, when it is a member of an object. | |
class | Soldier |
An example ScriptableObject derived class, contains multiple members of various types that are exposed using the ExposedMember Attribute. | |
class | SoldierEditor |
Example showing usage of DefaultExposedMemberEditor to display instances of the Soldier class. | |
class | SoldierPropertyDrawer |
class | Squad |
A Monobehavior class that contains details about a set of soldiers, and how they are controlled. It provides examples of standard ExposedMemberAttribute usage, as well as a few of it's parameter options. Specifically; conditionalDisplayMemberName, and offerCreationFunctionWhenNull | |
class | SquadController |
Example class that may be needed by the Squad class. Exposed members is the Squad class show how this is can be handled. | |
class | SquadEditor |
Example showing usage of DefaultExposedMemberEditor to display instances of the Squad class. | |
class | SquadNPCAI |
Example class that may be needed by the Squad class. Exposed members is the Squad class show how this is can be handled. | |
class | SquadPCController |
Example class that may be needed by the Squad class. Exposed members is the Squad class show how this is can be handled. | |
class | Weapon |
A Serializable class that is NOT a ScriptableObject. Instances of this class will not be assets, they will be stored inside a SOLDIER asset. As such, we do NOT need an editor for this object type, only a custom property drawer. | |
class | WeaponPropertyDrawer |
Example usage of DefaultExposedPropertyExpandablePropertyDrawer for drawing Weapon references with details-foldout, when it is a member of an object. | |
class | WeaponType |
The example class is derived from another to demonstrate how inheritance works with ExposeMember. This example also shows how to specify foldout groups with ExposeMember, specifying tool-tips, and the alternate label & alternateLabelConditionalName parameters. | |
class | WeaponTypeEditor |
Example showing usage of DefaultExposedMemberEditor to display instances of the WeaponType class. | |
class | WeaponTypePropertyDrawer |
We don't NEED to declare a custom property drawer for WeaponType objects: We already have a DefaultExposedPropertyExpandablePropertyDrawer for the base class ofWeaponType , InventoryObjectType. | |
Enumerations | |
enum | DamageType { piercing, slashing, bludgeon, fire, poison } |
Enum used in WeaponType to show how they are exposed | |