Classes | |
class | CollectionExtensions |
This static functional class provides two simple convenience functions. These functions check to determine if a collection actually exists, and if so if it has any entries. | |
class | EditModeIntervalCallbacks |
this class provides the user with the ability to have function called at a constant time intervals while in the editor. The function will be invoked at the provided interval once registered, and will continue to be until unregistered. The code that calls the registration function is also responsible for unregistering, before the delegate goes out of scope(is destroyed). If any member functions are called when not in the editor, they will do nothing and return immediately. | |
class | GameObjectExtensions |
Contains various static convenience and extension function for Unity GameObjects. | |
class | GradientToTexture |
Contains a single Extension function for gradients: ConvertToTexture | |
class | Mathg |
The class provide a few math functions and constants that Unity's Mathf class does not. | |
class | MemberInfoExtension |
This Utility class extends the .net MemberInfo class, in order to provide a single method to access both .net PropetyInfo and FieldInfo objects, transparently. Two functions are provided, GetValue and GetSystemType. A NotImplementedException will be thrown if the provided MemberInfo parameter is for any MemberType other than MemberTypes.Field, or MemberTypes.Property. | |
class | MenuInfo |
This is a sample data class we want to store in a tree. All members to be stored, must be serializable. | |
class | ProgressThreadParam |
As a base class, this object provides a simple way to create a derived class, that can pass all the parameters needed, to a threaded function. Even when not derived from it provides a simple but limited way for the called Thread and the calling thread to communicate The calling thread may only READ member variables after starting the thread. Once this flag goes false, the calling thread may read or write all the other values. There is no "locking" implemented internally to ensure good behavior, so be cautious. It is the responsibility of the called thread to set all the values in this class, before setting the isProcessing flag to false. | |
class | RectExtensions |
Contains multiple extension functions for use with the Rect class. | |
class | ReflectionExtensions |
The ReflectionsExtensions Class which provides some additional and convenience Reflection functions. | |
class | SerializableDictionary< TKeyType, TValueType > |
Provides a runtime System.Collections.Generic.Dictionary< Key,Value > Structure, that can be properly serialized in unity. This class is derived from, and has the functionality of a standard c# Dictionary<K,V> In order for the SerializableDictionary to show up in the editor with the correct controls: you will need to create two need classes and files in order to apply the appropriate attributes Create a non-generic class derived from SerializableDictionary. This class does not need a body, but does need to be tagged with [System.Serializable]. Create a property drawer class derived from SerializableDictionaryPropertyDrawerBase (stored in an Editor folder). This class does not need a body, but does need to be tagged with [[CustomPropertyDrawer(typeof(YourClassDerivedFromSerializableDictionary), true)]]. | |
class | SerializableTree< T > |
This is the Class version of SerializableTree that is recommended for use in Unity. It will automatically perform serialization callbacks for use in Unity's editor, by implementing the ISerializationCallbackReceiver interface. Note: you must define a class that derives from this one, using a specific T, AND mark it with the [System.Serializable] attribute in order for the class to serialize properly. (Unity does not support attributes on classes using generic types.) Also note: the type T, that is used, must be serializable. | |
class | SerializableTreeNode |
SerializableTreeNode class is used for serialization of SerializableTreeBase. It stores the details about how each node of the tree is related to their nodes, by integer index. All members are serializable base-type, and none are references. Most of these values are used to index into array in the main tree class, which is serialized separately, as a simple array. | |
class | TransformExtensions |
Class providing some extended function that help perform certain tasks with Unity's Transforms. | |
class | TypeExtension |
Contains functions that operate on a System.Type, or, on a given object's Systsme.Type. | |
class | UnityToolsCatDebug |
This class exists solely to setup the Debug Categories for this module, on Load. Contains a static setup function which is called by InitializeOnLoad. This function registers the Category with the CategoricalDebug module. It also contains the indexes of the registered categories. CategoricalDebug allows for enabling/disabling logging, based on this tag. | |
class | VolumeTransforms |
Small set of volumetric functions | |
Functions | |
static Vector2 | XY (this Vector3 vec) |
Converts the X and UY coordinates of a Vector3 into a new Vector2 | |