EyE.Unity.Examples Namespace Reference

Classes

class  AcessorPropertyTester
 Demonstrates how to use ExposeProperty attributes on various kinds of members, and how to optionally group them in the displayed output. Two members in particular, are custom sample classes, and implement ExpandableObjectPropertyDrawer : weaponTypeScriptableObject, rankSeriList and SomeValues
 
class  InventoryObjectType
 Example of a ScriptableObject base class that implements ExposeMember.
 
class  MenuInfo
 This is a sample data class we want to store in a tree. All members to be stored, must be serializable.
 
class  MenuTree
 The Only reason for this class to exist is so that we can finally apply the [System.Serializable] attribute to this class family (because it is a non-generic type class, as required by Unity serialization. Since all ancestors are generic types, unity will not accept the Serializable attribute on them.).

 
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  Rank
 Example ScriptableObject implementing ExposeMember.
 
class  Soldier
 An example ScriptableObject derived class, contains multiple members of various types that are exposed using the ExposedMember Attribute.
 
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  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  VolumeTransformTester
 Class used to visually display how the VolumeTransforms class works.
 
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  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.
 

Enumerations

enum  DamageType {
  piercing, slashing, bludgeon, fire,
  poison
}
 Enum used in WeaponType to show how they are exposed
 
enum  enumTest { enumOne, enumTwo, enumThree }