Show / Hide Table of Contents

Class Window

A sliding window for your game scene.

Inheritance
System.Object
Interactable
Window
Implements
ILockable
IInteractable
Inherited Members
Interactable.propName
Interactable.tmpName
Interactable.propType
Interactable.useDuration
Interactable.movement
Interactable.hingeAxis
Interactable.linkedProp
Interactable._canLock
Interactable._startsLocked
Interactable._lockState
Interactable.key
Interactable.audioSource
Interactable.onLockedAudio
Interactable.onLockAudio
Interactable.onUnlockAudio
Interactable.showDebug
Interactable.isMoving
Interactable.action
Interactable.initialPosition
Interactable.initialRotation
Interactable.propOpen
Interactable.propClosed
Interactable.operationalSpace
Interactable.SetPropName(String)
Interactable.SetTempPropName(String)
Interactable.GetPropName()
Interactable.GetTempPropName()
Interactable.GetProp()
Interactable.SetProp(IProp)
Interactable.GetPropType()
Interactable.RequiresGameObject
Interactable.Use(Transform)
Interactable.CalculatePosition(RotationState)
Interactable.CalculateRotation(RotationState)
Interactable.ToggleLock()
Interactable.Lock()
Interactable.Unlock()
Interactable.CanLock()
Interactable.IsLocked()
Interactable.LockOnStart(Boolean)
Namespace: ShadowBox.Interactions
Assembly: cs.temp.dll.dll
Syntax
public class Window : Interactable, ILockable, IInteractable

Constructors

Window()

Declaration
public Window()

Fields

onAfterCloseAudio

Declaration
public AudioClip onAfterCloseAudio
Field Value
Type Description
AudioClip

onAfterOpenAudio

Declaration
public AudioClip onAfterOpenAudio
Field Value
Type Description
AudioClip

onCloseAudio

Declaration
public AudioClip onCloseAudio
Field Value
Type Description
AudioClip

onOpenAudio

Declaration
public AudioClip onOpenAudio
Field Value
Type Description
AudioClip

startingState

Declaration
public RotationState startingState
Field Value
Type Description
RotationState

state

Declaration
public RotationState state
Field Value
Type Description
RotationState

Methods

MoveTo(RotationState, Single, Boolean)

Declaration
public IEnumerator MoveTo(RotationState desiredState, float duration, bool lockOnComplete = false)
Parameters
Type Name Description
RotationState desiredState
System.Single duration
System.Boolean lockOnComplete
Returns
Type Description
System.Collections.IEnumerator

SetToOne()

Declaration
public override void SetToOne()
Overrides
Interactable.SetToOne()

SetToZero()

Declaration
public override void SetToZero()
Overrides
Interactable.SetToZero()

UpdateActionDescription()

Declaration
public override void UpdateActionDescription()
Overrides
Interactable.UpdateActionDescription()

Use()

Declaration
public override void Use()
Overrides
Interactable.Use()

Implements

ILockable
IInteractable
Back to top Generated by DocFX