public void Start() { // This sample assumes the C3dGestures script component is also attached to this game object. m_gestures = GetComponent <CMobile3dGestures>(); // Register for gesture events. m_gestures.HandleGesture += ProcessGesture; }
public Spikes(CMobile3dGestures gestures) { m_gestures = gestures; m_spikes = new List <Spike>(50); }