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