Ejemplo n.º 1
0
 void Start()
 {
     rigid = GetComponent<Rigidbody>();
     trans = GetComponent<Transform>();
     m_mpcol = GetComponent<MPCollider>();
     m_mpcol.m_hit_handler = OnHitParticle;
 }
Ejemplo n.º 2
0
 void Start()
 {
     rigid   = GetComponent <Rigidbody>();
     trans   = GetComponent <Transform>();
     m_mpcol = GetComponent <MPCollider>();
     m_mpcol.m_hit_handler = OnHitParticle;
 }
Ejemplo n.º 3
0
 static void UpdateMPObjects()
 {
     MPCollider.MPUpdateAll();
     MPForce.MPUpdateAll();
     MPEmitter.MPUpdateAll();
 }