Class FxAttachToEntity
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
FxAttachToEntity
Assembly: Dew.Core.dll
Syntax
[HideMonoScript]
[LogicUpdatePriority(1000)]
public class FxAttachToEntity : LogicBehaviour, ILogicUpdate, IAttachableToEntity
Fields
offset
Declaration
public FxAttachToEntity.OffsetType offset
Field Value
position
Declaration
public FxAttachToEntity.PositionType position
Field Value
rotation
Declaration
public FxAttachToEntity.RotationType rotation
Field Value
scale
Declaration
public FxAttachToEntity.ScaleType scale
Field Value
useFlatRotation
Declaration
[ToggleLeft]
[HideIf("@rotation == RotationType.DoNothing", true)]
public bool useFlatRotation
Field Value
Properties
targetEntity
Declaration
public Entity targetEntity { get; }
Property Value
Methods
FrameUpdate()
Declaration
public override void FrameUpdate()
Overrides
OnAttachToEntity(Entity)
Declaration
public void OnAttachToEntity(Entity target)
Parameters
| Type |
Name |
Description |
| Entity |
target |
|
OnDisable()
Declaration
protected override void OnDisable()
Overrides
OnEnable()
Declaration
protected override void OnEnable()
Overrides
Implements
Extension Methods