Click or drag to resize

CacheableValueSetter Class

A Cacheable version of a ValueSetter. Right now, all ValueSetters inherit from this class. This also gives a convenient non-generic entrypoint necessary to automatically add relevant setters to GameObjects
Inheritance Hierarchy

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public abstract class CacheableValueSetter : Cacheable

The CacheableValueSetter type exposes the following members.

Constructors
  NameDescription
Protected methodCacheableValueSetter
Initializes a new instance of the CacheableValueSetter class
Top
Methods
  NameDescription
Public methodStatic memberGetAffectedType
Setters set values on other types of objects. This method can be used to know what Type of object the setter modifies. This method should be hidden with the "new" keyword in classes further down the inheritance tree.
Public methodGetReferencedComponent
Fetch the Component this setter is referencing.
Top
Extension Methods
  NameDescription
Public Extension MethodAnnounceComponentAdded
Notifies any IComponentHandlers on the GameObject a Component is added to, that the Component has been added.
(Defined by ExtensionMethods.)
Public Extension MethodStartCoroutineT
Use by calling this.StartCoroutine and assigning it to a Coroutine. Then you can call your assigned coroutine.Cancel(), or .HasFinished, or a variety of other neat things.
(Defined by ExtensionMethods.)
Public Extension MethodTryGetComponentT(T, Boolean)Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.)
Public Extension MethodTryGetComponentT1, T2(T1, Boolean)Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.)
Public Extension MethodTryGetComponentsT(T, Boolean)Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.)
Public Extension MethodTryGetComponentsT1, T2(T1, Boolean)Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.)
Top
See Also