This wrapper keeps references intact if you switch between the compiled assembly and source code versions of the original class. More...
Additional Inherited Members | |
Public Member Functions inherited from PixelCrushers.LoveHate.Traits | |
| void | FindResources () |
| Finds a faction database if it's unassigned, first looking on a FactionManager and failing that the first FactionDatabase it finds. | |
| float | GetTrait (string traitName) |
| Gets a trait value by name. | |
| void | OnDrawGizmos () |
Static Public Member Functions inherited from PixelCrushers.LoveHate.Traits | |
| static void | Copy (float[] source, ref float[] dest) |
| Deep copies a source array into a destination array. | |
| static float[] | Allocate (int count) |
| Allocates an array of a specified size. | |
| static float[] | Allocate (int count, bool initialize) |
| Allocates an array of a specified size. | |
| static void | Initialize (float[] traits) |
| Initializes an array to zero. | |
| static float | Alignment (float[] a, float[] b) |
| Computes the "alignment" of two sets of values, which is close their values are. | |
Public Attributes inherited from PixelCrushers.LoveHate.Traits | |
| FactionDatabase | factionDatabase |
| An editor-time-only reference to the FactionDatabase, to be used only by the editor to get the presets list for the Traits custom editor. | |
| float[] | traits = new float[0] |
| The personality traits. | |
This wrapper keeps references intact if you switch between the compiled assembly and source code versions of the original class.