Ejemplo n.º 1
0
 public void SetDefaultValues()
 {
     owner_id      = 0;
     stiffness     = 1500.0f;
     hit_handler   = null;
     force_handler = null;
 }
Ejemplo n.º 2
0
 public void SetDefaultValues()
 {
     owner_id = 0;
     stiffness = 1500.0f;
     hit_handler = null;
     force_handler = null;
 }
Ejemplo n.º 3
0
 void Awake()
 {
     if (m_hit_handler == null)
     {
         m_hit_handler = PropagateHit;
     }
     if (m_force_handler == null)
     {
         m_force_handler = PropagateForce;
     }
 }
Ejemplo n.º 4
0
 void Awake()
 {
     if (m_hit_handler == null) m_hit_handler = PropagateHit;
     if (m_force_handler == null) m_force_handler = PropagateForce;
 }