C# Class ProjectStorms.ShipPartDestroy.ShipPart

Mostrar archivo Open project: patferguson/Storms-Project

Public Properties

Property Type Description
breakVelocity float
partMass float
partObject UnityEngine.GameObject
partType EShipPartType

Property Details

breakVelocity public_oe property

If a collision relative velocity is larger than this value, the part will break.
public float breakVelocity
return float

partMass public_oe property

Amount to subtract from the ship's mass when this part gets destroyed.
public float partMass
return float

partObject public_oe property

Handle to the parent of all of the part's colliders, this part will be disabled.
public GameObject,UnityEngine partObject
return UnityEngine.GameObject

partType public_oe property

What the part is, affects how the ship's handling will be hampered.
public EShipPartType partType
return EShipPartType