Click or drag to resize
IMyPistonBaseAttach Method (IMyPistonTop)

[This is preliminary documentation and is subject to change.]

Attaches a specified nearby top part to the piston block

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
void Attach(
	IMyPistonTop top
)

Parameters

top
Type: Sandbox.ModAPIIMyPistonTop
Entity to attach
Remarks
The top to attach must already be in position before calling this method.
See Also