Class DewAnimationClip
Inheritance
object
UnityEngine.Object
UnityEngine.ScriptableObject
DewAnimationClip
Assembly: Dew.Core.dll
Syntax
[HideMonoScript]
[DewResourceLink(ResourceLinkBy.Guid)]
[CreateAssetMenu(fileName = "New Dew Animation Clip", menuName = "Dew Animation Clip")]
public class DewAnimationClip : ScriptableObject, ILinkedByGuid
Fields
entries
Declaration
public DewAnimationEntry[] entries
Field Value
hideWeaponOnHeroes
Declaration
public bool hideWeaponOnHeroes
Field Value
onlyUpperBody
Declaration
public bool onlyUpperBody
Field Value
overrideWalk
Declaration
[InfoBox("Override Walk cannot be Full if animating only upper body!", InfoMessageType.Error, null, VisibleIf = "@onlyUpperBody && overrideWalk == DewAnimationClip.OverrideWalkBehavior.Full")]
public DewAnimationClip.OverrideWalkBehavior overrideWalk
Field Value
overrideWalkNormalizedDuration
Declaration
[ShowIf("@overrideWalk != OverrideWalkBehavior.None", true)]
public float overrideWalkNormalizedDuration
Field Value
Properties
resourceId
Declaration
public string resourceId { get; set; }
Property Value
Methods
GetEntry()
Declaration
public DewAnimationEntry GetEntry()
Returns
GetEntry(int)
Declaration
public DewAnimationEntry GetEntry(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
GetEntry(float)
Declaration
public DewAnimationEntry GetEntry(float value)
Parameters
| Type |
Name |
Description |
| float |
value |
|
Returns
GetEntryIndex()
Declaration
public int GetEntryIndex()
Returns
GetEntryIndex(float, int)
Declaration
public static int GetEntryIndex(float clipSelectValue, int entriesLength)
Parameters
| Type |
Name |
Description |
| float |
clipSelectValue |
|
| int |
entriesLength |
|
Returns
GetEntryIndex(float)
Declaration
public int GetEntryIndex(float clipSelectValue)
Parameters
| Type |
Name |
Description |
| float |
clipSelectValue |
|
Returns
Implements