void OnCollisionEnter(Collision c) { HapticFeedback h = c.gameObject.GetComponent <HapticFeedback>(); if (h != null) { h.DoFeedback(); //Debug.Log("DoHapticFeedback"); } }
void OnCollisionEnter(Collision c) { HapticFeedback h = c.gameObject.GetComponent <HapticFeedback>(); if (h != null) { h.DoFeedback(); //Debug.Log("DoHapticFeedback"); } }