Skip to content

Class: Knockback ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
[Serializable]
public class Knockback

Fields ​

NameDeclarationDescription
distancepublic float distance
durationpublic float duration
ignoreTenacitypublic bool ignoreTenacity

Methods ​

ApplyWithDirection(Quaternion, Entity) ​

csharp
public void ApplyWithDirection(Quaternion rot, Entity to)

Parameters:

NameTypeDescription
rotUnityEngine.Quaternion
toEntity

ApplyWithDirection(Vector3, Entity) ​

csharp
public void ApplyWithDirection(Vector3 dir, Entity to)

Parameters:

NameTypeDescription
dirUnityEngine.Vector3
toEntity

ApplyWithOrigin(Vector3, Entity) ​

csharp
public void ApplyWithOrigin(Vector3 origin, Entity to)

Parameters:

NameTypeDescription
originUnityEngine.Vector3
toEntity

Maintained by the Shape of Dreams Modding Community