private bool ExtractLook(Entity target) { var tr = target.Get <TransformComponent>(); _lookTr.Set(tr); return(tr != null); }
public void Register(Entity entity, Dictionary <System.Type, ComponentReference> list) { Entity = entity; Model.Set(entity, list); Label.Set(entity, list); Rb.Set(entity, list); _position.Set(entity, list); _rotation.Set(entity, list); }
public void Register(Entity entity, Dictionary <System.Type, ComponentReference> list) { Entity = entity; Rb.Set(entity, list); MoveSpeed.Set(entity, list); RotationSpeed.Set(entity, list); Target.Set(entity, list); Mover.Set(entity, list); }
public void SetContainer(IEntityContainer container) { if (container == null) { _inventory.Clear(); } else { _inventory.Set(container.Owner); } }
public static void Assign(PlayerInputComponent component) { _local.Set(component); }
public void SetMoveTarget(SetMoveTarget arg) { _targetV3 = arg.V3; _targetTr.Set(arg.Tr); }