Class TNH_DestructibleBarrier
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class TNH_DestructibleBarrier : MonoBehaviour, IFVRDamageable
- Inheritance
-
TNH_DestructibleBarrier
- Implements
-
Constructors
TNH_DestructibleBarrier()
public TNH_DestructibleBarrier()
Fields
Damage_PerStage
public float Damage_PerStage
Field Value
- float
Height
Field Value
- float
MyState
public TNH_DestructibleBarrier.State MyState
Field Value
- TNH_DestructibleBarrier.State
Obstacle
public NavMeshObstacle Obstacle
Field Value
- NavMeshObstacle
RB
Field Value
- Rigidbody
SpawnOnDestroy
public List<GameObject> SpawnOnDestroy
Field Value
- List<GameObject>
SpawnOnDestroyPoints
public List<Transform> SpawnOnDestroyPoints
Field Value
- List<Transform>
Stages
public List<GameObject> Stages
Field Value
- List<GameObject>
Methods
Damage(Damage)
public void Damage(Damage d)
Parameters
d
Damage
InitToPlace(Vector3, Vector3)
public void InitToPlace(Vector3 pos, Vector3 forward)
Parameters
pos
Vector3
forward
Vector3
Lower()
SetBarrierPoint(TNH_DestructibleBarrierPoint)
public void SetBarrierPoint(TNH_DestructibleBarrierPoint b)
Parameters
b
TNH_DestructibleBarrierPoint