Class ObjectAssemblyMarker
- Namespace
- KSP.OAB
- Assembly
- Assembly-CSharp.dll
public class ObjectAssemblyMarker : KerbalMonoBehaviour
- Inheritance
-
ObjectAssemblyMarker
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
ObjectAssemblyMarker()
public ObjectAssemblyMarker()
Fields
CurrentOAB
protected ObjectAssemblyBuilder CurrentOAB
Field Value
- ObjectAssemblyBuilder
_hasValidDirection
protected bool _hasValidDirection
Field Value
- bool
_hasValidPosition
protected bool _hasValidPosition
Field Value
- bool
dirMarkerObject
protected GameObject dirMarkerObject
Field Value
- GameObject
posMarkerObject
protected GameObject posMarkerObject
Field Value
- GameObject
rootPart
protected IObjectAssemblyPart rootPart
Field Value
- IObjectAssemblyPart
Methods
LateUpdate()
OnDestroy()
OnEnable()
SetToggledStatus(bool)
public void SetToggledStatus(bool newToggleState)
Parameters
newToggleState bool
Start()
TryUpdatePosition(ref Vector3)
protected virtual bool TryUpdatePosition(ref Vector3 position)
Parameters
position Vector3
Returns
- bool
UpdateDirection()
protected virtual Vector3 UpdateDirection()
Returns
- Vector3