Example #1
0
 void Start()
 {
     Mode = ManipulationMode.None;
     if (CollisonDetector == null)
     {
         CollisonDetector = gameObject.AddComponent <DefaultMappingCollisionDetector>();
     }
 }
Example #2
0
 void Start()
 {
     _startTime     = Time.time + _delay;
     _isJustEnabled = true;
     if (CollisionDetector == null)
     {
         CollisionDetector = gameObject.AddComponent <DefaultMappingCollisionDetector>();
     }
 }