Table of Contents

Class Flashlight

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class Flashlight : ItemInstanceBehaviour
Inheritance
Flashlight
Inherited Members
Extension Methods

Constructors

Flashlight()

public Flashlight()

Fields

brightPart

public MeshRenderer brightPart

Field Value

MeshRenderer

lightBeam

public MeshRenderer lightBeam

Field Value

MeshRenderer

m_batteryDisplay

public BatteryDisplay m_batteryDisplay

Field Value

BatteryDisplay

m_batteryEntry

public BatteryEntry m_batteryEntry

Field Value

BatteryEntry

m_light

public Light m_light

Field Value

Light

m_onOffEntry

public OnOffEntry m_onOffEntry

Field Value

OnOffEntry

maxCharge

public float maxCharge

Field Value

float

trigger

public GameObject trigger

Field Value

GameObject

Methods

ConfigItem(ItemInstanceData, PhotonView)

public override void ConfigItem(ItemInstanceData data, PhotonView playerView)

Parameters

data ItemInstanceData
playerView PhotonView

Update()

public void Update()