Table of Contents

Class RevolverCylinder

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class RevolverCylinder : FVRInteractiveObject
Inheritance
RevolverCylinder
Inherited Members

Constructors

RevolverCylinder()

public RevolverCylinder()

Fields

CartridgeLength

public float CartridgeLength

Field Value

float

MoonClip

public GameObject MoonClip

Field Value

GameObject

Revolver

public Revolver Revolver

Field Value

Revolver

SpeedLoaderID

public string SpeedLoaderID

Field Value

string

numChambers

public int numChambers

Field Value

int

Properties

HasSpeedLoadedIn

public bool HasSpeedLoadedIn { get; }

Property Value

bool

Methods

Awake()

protected override void Awake()

CanAccept()

public bool CanAccept()

Returns

bool

Eject()

public string Eject()

Returns

string

EndInteraction(FVRViveHand)

public override void EndInteraction(FVRViveHand hand)

Parameters

hand FVRViveHand

FVRUpdate()

protected override void FVRUpdate()

GetClosestChamberIndex()

public int GetClosestChamberIndex()

Returns

int

GetLocalRotationFromCylinder(int)

public Quaternion GetLocalRotationFromCylinder(int cylinder)

Parameters

cylinder int

Returns

Quaternion

IsInteractable()

public override bool IsInteractable()

Returns

bool

LoadFromSpeedLoader(Speedloader)

public void LoadFromSpeedLoader(Speedloader loader)

Parameters

loader Speedloader

UpdateInteraction(FVRViveHand)

public override void UpdateInteraction(FVRViveHand hand)

Parameters

hand FVRViveHand