Table of Contents

Class wwTarget

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class wwTarget : MonoBehaviour, IFVRDamageable
Inheritance
wwTarget
Implements
Derived

Constructors

wwTarget()

public wwTarget()

Fields

AudioEvent

public AudioEvent AudioEvent

Field Value

AudioEvent

AudioType

public FVRPooledAudioType AudioType

Field Value

FVRPooledAudioType

DoesRescale

public bool DoesRescale

Field Value

bool

HasAudioHitSound

public bool HasAudioHitSound

Field Value

bool

Ident

public string Ident

Field Value

string

Manager

public wwTargetManager Manager

Field Value

wwTargetManager

RespawnTime

public float RespawnTime

Field Value

float

SoundRefire

public float SoundRefire

Field Value

float

TargetSprite

public Sprite TargetSprite

Field Value

Sprite

TargetStruckRefire

public float TargetStruckRefire

Field Value

float

hasManager

protected bool hasManager

Field Value

bool

m_originalPos

protected Vector3 m_originalPos

Field Value

Vector3

m_originalRot

protected Quaternion m_originalRot

Field Value

Quaternion

m_originalScale

protected float m_originalScale

Field Value

float

Methods

Awake()

public void Awake()

Damage(Damage)

public virtual void Damage(Damage d)

Parameters

d Damage

PlaySoundEvent()

public virtual bool PlaySoundEvent()

Returns

bool

SendStruckEvent()

public void SendStruckEvent()

SetManager(wwTargetManager)

public void SetManager(wwTargetManager m)

Parameters

m wwTargetManager

SetupAfterSpawn(wwTargetManager, Vector3, Quaternion, float, bool)

public void SetupAfterSpawn(wwTargetManager m, Vector3 pos, Quaternion rot, float scale, bool doesScale)

Parameters

m wwTargetManager
pos Vector3
rot Quaternion
scale float
doesScale bool

Start()

public void Start()

TargetStruck(Damage, bool)

public virtual void TargetStruck(Damage dam, bool sendStruckEvent)

Parameters

dam Damage
sendStruckEvent bool

Update()

public virtual void Update()