Class DewEffect
Inheritance
object
DewEffect
Assembly: Dew.Core.dll
Syntax
public static class DewEffect
Fields
disablePlay
Declaration
public static bool disablePlay
Field Value
disablePlayNew
Declaration
public static bool disablePlayNew
Field Value
Methods
ApplySpeedMultiplier(GameObject, float)
Declaration
public static void ApplySpeedMultiplier(GameObject effect, float multiplier)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| float |
multiplier |
|
ApplySpeedMultiplierNetworked(NetworkIdentity, GameObject, float)
Declaration
public static void ApplySpeedMultiplierNetworked(NetworkIdentity parent, GameObject effect, float multiplier)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
| float |
multiplier |
|
ChangeColorObject(object, float?, float, float, float)
Declaration
public static void ChangeColorObject(object obj, float? hue = null, float saturationMult = 1, float valueMult = 1, float alphaMult = 1)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
| float? |
hue |
|
| float |
saturationMult |
|
| float |
valueMult |
|
| float |
alphaMult |
|
ChangeColorRecursively(GameObject, float?, float, float, float)
Declaration
public static void ChangeColorRecursively(GameObject gameObject, float? hue = null, float saturationMult = 1, float valueMult = 1, float alphaMult = 1)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
gameObject |
|
| float? |
hue |
|
| float |
saturationMult |
|
| float |
valueMult |
|
| float |
alphaMult |
|
Declaration
public static string GetPath(Transform root, Transform target)
Parameters
| Type |
Name |
Description |
| UnityEngine.Transform |
root |
|
| UnityEngine.Transform |
target |
|
Returns
Play(GameObject, Entity, NetworkIdentity)
Provide parent if the effect originates from an entity and needs GameBoss/GameSelf/GameOthers clarifications.
Declaration
public static void Play(GameObject effect, Entity attach, NetworkIdentity parent = null)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| Entity |
attach |
|
| Mirror.NetworkIdentity |
parent |
|
Play(GameObject, Entity, Vector3, Quaternion?, NetworkIdentity)
Provide parent if the effect originates from an entity and needs GameBoss/GameSelf/GameOthers clarifications.
Declaration
public static void Play(GameObject effect, Entity attach, Vector3 position, Quaternion? rotation, NetworkIdentity parent = null)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| Entity |
attach |
|
| UnityEngine.Vector3 |
position |
|
| UnityEngine.Quaternion? |
rotation |
|
| Mirror.NetworkIdentity |
parent |
|
Play(GameObject, NetworkIdentity)
Provide parent if the effect originates from an entity and needs GameBoss/GameSelf/GameOthers clarifications.
Declaration
public static void Play(GameObject effect, NetworkIdentity parent = null)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| Mirror.NetworkIdentity |
parent |
|
Play(GameObject, Vector3, Quaternion?, NetworkIdentity)
Provide parent if the effect originates from an entity and needs GameBoss/GameSelf/GameOthers clarifications.
Declaration
public static void Play(GameObject effect, Vector3 position, Quaternion? rotation, NetworkIdentity parent = null)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| UnityEngine.Vector3 |
position |
|
| UnityEngine.Quaternion? |
rotation |
|
| Mirror.NetworkIdentity |
parent |
|
PlayCastEffect(GameObject, CastInfo, CastMethodType, float, NetworkIdentity)
Provide parent if the effect originates from an entity and needs GameBoss/GameSelf/GameOthers clarifications.
Declaration
public static void PlayCastEffect(GameObject effect, CastInfo info, CastMethodType method, float duration = -1, NetworkIdentity parent = null)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| CastInfo |
info |
|
| CastMethodType |
method |
|
| float |
duration |
|
| Mirror.NetworkIdentity |
parent |
|
PlayCastEffectNetworked(NetworkIdentity, GameObject, CastInfo, CastMethodType, float)
Declaration
public static void PlayCastEffectNetworked(NetworkIdentity parent, GameObject effect, CastInfo info, CastMethodType method, float duration = -1)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
| CastInfo |
info |
|
| CastMethodType |
method |
|
| float |
duration |
|
PlayNetworked(NetworkIdentity, GameObject, Entity, Vector3, Quaternion?)
Declaration
public static void PlayNetworked(NetworkIdentity parent, GameObject effect, Entity entity, Vector3 position, Quaternion? rotation)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
| Entity |
entity |
|
| UnityEngine.Vector3 |
position |
|
| UnityEngine.Quaternion? |
rotation |
|
PlayNetworked(NetworkIdentity, GameObject, Entity)
Declaration
public static void PlayNetworked(NetworkIdentity parent, GameObject effect, Entity entity)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
| Entity |
entity |
|
PlayNetworked(NetworkIdentity, GameObject, Vector3, Quaternion?)
Declaration
public static void PlayNetworked(NetworkIdentity parent, GameObject effect, Vector3 position, Quaternion? rotation)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
| UnityEngine.Vector3 |
position |
|
| UnityEngine.Quaternion? |
rotation |
|
PlayNetworked(NetworkIdentity, GameObject)
Declaration
public static void PlayNetworked(NetworkIdentity parent, GameObject effect)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
PlayNew(GameObject, Entity, NetworkIdentity)
Provide parent if the effect originates from an entity and needs GameBoss/GameSelf/GameOthers clarifications.
Declaration
public static void PlayNew(GameObject effect, Entity attach, NetworkIdentity parent = null)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| Entity |
attach |
|
| Mirror.NetworkIdentity |
parent |
|
PlayNew(GameObject, Entity, Vector3, Quaternion?, NetworkIdentity)
Provide parent if the effect originates from an entity and needs GameBoss/GameSelf/GameOthers clarifications.
Declaration
public static void PlayNew(GameObject effect, Entity attach, Vector3 position, Quaternion? rotation, NetworkIdentity parent = null)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| Entity |
attach |
|
| UnityEngine.Vector3 |
position |
|
| UnityEngine.Quaternion? |
rotation |
|
| Mirror.NetworkIdentity |
parent |
|
PlayNew(GameObject, NetworkIdentity)
Provide parent if the effect originates from an entity and needs GameBoss/GameSelf/GameOthers clarifications.
Declaration
public static void PlayNew(GameObject effect, NetworkIdentity parent = null)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| Mirror.NetworkIdentity |
parent |
|
PlayNew(GameObject, Vector3, Quaternion?, NetworkIdentity)
Provide parent if the effect originates from an entity and needs GameBoss/GameSelf/GameOthers clarifications.
Declaration
public static void PlayNew(GameObject effect, Vector3 position, Quaternion? rotation, NetworkIdentity parent = null)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
| UnityEngine.Vector3 |
position |
|
| UnityEngine.Quaternion? |
rotation |
|
| Mirror.NetworkIdentity |
parent |
|
PlayNewNetworked(NetworkIdentity, GameObject, Entity, Vector3, Quaternion?)
Declaration
public static void PlayNewNetworked(NetworkIdentity parent, GameObject effect, Entity entity, Vector3 position, Quaternion? rotation)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
| Entity |
entity |
|
| UnityEngine.Vector3 |
position |
|
| UnityEngine.Quaternion? |
rotation |
|
PlayNewNetworked(NetworkIdentity, GameObject, Entity)
Declaration
public static void PlayNewNetworked(NetworkIdentity parent, GameObject effect, Entity entity)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
| Entity |
entity |
|
PlayNewNetworked(NetworkIdentity, GameObject, Vector3, Quaternion?)
Declaration
public static void PlayNewNetworked(NetworkIdentity parent, GameObject effect, Vector3 position, Quaternion? rotation)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
| UnityEngine.Vector3 |
position |
|
| UnityEngine.Quaternion? |
rotation |
|
PlayNewNetworked(NetworkIdentity, GameObject)
Declaration
public static void PlayNewNetworked(NetworkIdentity parent, GameObject effect)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
Declaration
public static GameObject ResolvePath(Transform root, string path, bool warnOnFail = true)
Parameters
| Type |
Name |
Description |
| UnityEngine.Transform |
root |
|
| string |
path |
|
| bool |
warnOnFail |
|
Returns
| Type |
Description |
| UnityEngine.GameObject |
|
Stop(GameObject)
Declaration
public static void Stop(GameObject effect)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
effect |
|
StopNetworked(NetworkIdentity, GameObject)
Declaration
public static void StopNetworked(NetworkIdentity parent, GameObject effect)
Parameters
| Type |
Name |
Description |
| Mirror.NetworkIdentity |
parent |
|
| UnityEngine.GameObject |
effect |
|
TintObject(object, Color, bool)
Tint color of the object. (Multiply given color to its color)
Declaration
public static void TintObject(object obj, Color color, bool dontLogWarning = false)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
| UnityEngine.Color |
color |
|
| bool |
dontLogWarning |
|
TintRecursively(GameObject, Color)
Declaration
public static void TintRecursively(GameObject gameObject, Color color)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
gameObject |
|
| UnityEngine.Color |
color |
|