Table of Contents

Class PaperTarget

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

Constructors

PaperTarget()

public PaperTarget()

Fields

BulletHolePrefabs

public GameObject[] BulletHolePrefabs

Field Value

GameObject[]

CurrentDisplayShots

public List<GameObject> CurrentDisplayShots

Field Value

List<GameObject>

CurrentShots

public List<GameObject> CurrentShots

Field Value

List<GameObject>

DisplayHitObject

public GameObject DisplayHitObject

Field Value

GameObject

DisplayLastHitObject

public GameObject DisplayLastHitObject

Field Value

GameObject

DisplayLowerLeft

public Transform DisplayLowerLeft

Field Value

Transform

DisplayTarget

public Transform DisplayTarget

Field Value

Transform

DisplayUpperLeft

public Transform DisplayUpperLeft

Field Value

Transform

DisplayUpperRight

public Transform DisplayUpperRight

Field Value

Transform

MaskTexture

public Texture2D MaskTexture

Field Value

Texture2D

MyPanel

public TargetRangePanel MyPanel

Field Value

TargetRangePanel

XYGridOrigin

public Transform XYGridOrigin

Field Value

Transform

times

public List<float> times

Field Value

List<float>

Methods

Awake()

public void Awake()

ClearHoles()

public void ClearHoles()

ClearHolesAndReportScore()

public Vector3 ClearHolesAndReportScore()

Returns

Vector3

Damage(Damage)

public void Damage(Damage dam)

Parameters

dam Damage

GetCurrentScoring()

public Vector3 GetCurrentScoring()

Returns

Vector3

GoToDest(int)

public void GoToDest(int i)

Parameters

i int

ResetDist()

public void ResetDist()

SpawnBulletHole(Vector3, int)

public void SpawnBulletHole(Vector3 point, int score)

Parameters

point Vector3
score int

SpawnDisplayBulletHole(Vector2)

public void SpawnDisplayBulletHole(Vector2 coord)

Parameters

coord Vector2

Update()

public void Update()