void Start() { rigid = GetComponent<Rigidbody>(); trans = GetComponent<Transform>(); m_mpcol = GetComponent<MPCollider>(); m_mpcol.m_hit_handler = OnHitParticle; }
void Start() { rigid = GetComponent <Rigidbody>(); trans = GetComponent <Transform>(); m_mpcol = GetComponent <MPCollider>(); m_mpcol.m_hit_handler = OnHitParticle; }
static void UpdateMPObjects() { MPCollider.MPUpdateAll(); MPForce.MPUpdateAll(); MPEmitter.MPUpdateAll(); }