Example #1
0
        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;
        }
Example #2
0
 public Spikes(CMobile3dGestures gestures)
 {
     m_gestures = gestures;
     m_spikes   = new List <Spike>(50);
 }