Table of Contents

Struct TargetInfo

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Struct containing information about a target and the hit position.

public struct TargetInfo
Inherited Members

Constructors

TargetInfo(Transform, Vector3)

Initializes a new instance of the TargetInfo struct.

public TargetInfo(Transform target, Vector3 hitPosition)

Parameters

target Transform

The target transform.

hitPosition Vector3

The hit position.

Fields

HitPosition

The position where the target was hit.

public Vector3 HitPosition

Field Value

Vector3

Target

The transform of the target.

public Transform Target

Field Value

Transform