Skip to content

Class: DispByTarget ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
  • Inheritance / Derived: Displacement
csharp
public class DispByTarget : Displacement

Fields ​

NameDeclarationDescription
cancelTimepublic float cancelTimeMax duration of this displacement until it cancels itself.Default value is Infinity.
goalDistancepublic float goalDistanceGoal distance. The displacement will finish when it reaches this distance to the target entity.
speedpublic float speedThis displacement's speed in unit/s.
targetpublic Entity targetTarget entity that this displacement will chase after.

Maintained by the Shape of Dreams Modding Community