LightIntensitySetter Class |
Namespace: DustProductions.Core
public class LightIntensitySetter : FloatValueSetter
The LightIntensitySetter type exposes the following members.
| Name | Description | |
|---|---|---|
| LightIntensitySetter | Initializes a new instance of the LightIntensitySetter class |
| Name | Description | |
|---|---|---|
| GetAffectedType |
Gets the Type of the object we are going to set with this setter.
| |
| GetReferencedComponent |
Fetch the Component this setter is referencing.
(Overrides CacheableValueSetterGetReferencedComponent.) | |
| Reset |
The Reset method Unity calls. Looks for an Light and hooks it up if it exists.
(Overrides ValueSetterTReset.) | |
| TryGetReferencedValue |
Gets the intensity of the Light, if one exists.
(Overrides ValueSetterTTryGetReferencedValue(NullableT).) | |
| TrySetReferencedValue |
Sets the intensity of an Light, if one exists.
(Overrides ValueSetterTTrySetReferencedValue(T).) |
| Name | Description | |
|---|---|---|
| AnnounceComponentAdded |
Notifies any IComponentHandlers on the GameObject a Component is added to, that the Component has been added.
(Defined by ExtensionMethods.) | |
| StartCoroutineT |
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.) | |
| TryGetComponentT(T, Boolean) | Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.) | |
| TryGetComponentT1, T2(T1, Boolean) | Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.) | |
| TryGetComponentsT(T, Boolean) | Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.) | |
| TryGetComponentsT1, T2(T1, Boolean) | Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.) |