C# Class WaterBuoyancy.FloatingObject

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: dbrizov/Unity-WaterBuoyancy

Méthodes protégées

Méthode Description
Awake ( ) : void
FixedUpdate ( ) : void
OnDrawGizmos ( ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void

Private Methods

Méthode Description
CalculateMaxBuoyancyForce ( ) : Vector3
CutIntoVoxels ( ) : UnityEngine.Vector3[]

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

FixedUpdate() protected méthode

protected FixedUpdate ( ) : void
Résultat void

OnDrawGizmos() protected méthode

protected OnDrawGizmos ( ) : void
Résultat void

OnTriggerEnter() protected méthode

protected OnTriggerEnter ( Collider other ) : void
other UnityEngine.Collider
Résultat void

OnTriggerExit() protected méthode

protected OnTriggerExit ( Collider other ) : void
other UnityEngine.Collider
Résultat void