Skip to content

AttachmentPoint

A slot that accepts and manages an attached object through configurable state processes.

Namespace: Octoputs.Core
Inherits: MonoBehaviour
Implements: IAttachmentTaggable

Overview

AttachmentPoint defines a position where an AttachableObject can be placed. It controls the full attach/detach lifecycle on the receiving side, running its own attaching, attached, and detaching processes in parallel with the object's. Supports cancellation strategies (Pause or Revert), instant steal from other points, and condition-gated transitions.

Properties

Property Type Description
attachmentTags List<AttachmentTag> Tags that describe this position, used to match objects and filters.
attachableFilters List<IAttachableObjectCheck> Checks an attachable must pass to attach here (added directly — no umbrella wrapper).
attachConditions List<Condition> Conditions required to attach an object.
attachCancellation CancellationStrategy Strategy when attach is cancelled: Pause or Revert.
attachingProcess IProcess Process that runs during the attaching phase. Defaults to a direct transform operation.
onAttachStarted UnityEvent<AttachableObject> Invoked when an object starts attaching.
attachedProcess IProcess Process that runs while an object is attached.
onAttached UnityEvent<AttachableObject> Invoked when an object is fully attached.
detachConditions List<Condition> Conditions required to detach an object.
allowInstantSteal bool When true, other zones can instantly grab the attached object without waiting for detachment.
detachCancellation CancellationStrategy Strategy when detach is cancelled: Pause or Revert.
detachingProcess IProcess Process that runs during the detaching phase.
onDetachStarted UnityEvent<AttachableObject> Invoked when an object starts detaching.
onDetached UnityEvent<AttachableObject> Invoked when an object finishes detaching.

See Also