Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     ModelPool = new List <IHandModel>();
     ModelPool.Add(LeftGraphicsModel);
     ModelPool.Add(RightGraphicsModel);
     ModelPool.Add(LeftPhysicsModel);
     ModelPool.Add(RightPhysicsModel);
     controller_ = GetComponent <LeapHandController>();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     ModelPool = new List<IHandModel>();
       ModelPool.Add(LeftGraphicsModel);
       ModelPool.Add(RightGraphicsModel);
       ModelPool.Add(LeftPhysicsModel);
       ModelPool.Add(RightPhysicsModel);
       controller_ = GetComponent<LeapHandController>();
 }
 // Use this for initialization
 void Start() {
   ModelPool = new List<IHandModel>();
   for (int i = 0; i < ModelCollection.Count; i++) {
     if (ModelCollection[i] != null) {
       ModelPool.Add(ModelCollection[i]);
     }
   }
   controller_ = GetComponent<LeapHandController>();
 }
Beispiel #4
0
 // Use this for initialization
 void Start()
 {
     ModelPool = new List <IHandModel>();
     for (int i = 0; i < ModelCollection.Count; i++)
     {
         if (ModelCollection[i] != null)
         {
             ModelPool.Add(ModelCollection[i]);
         }
     }
     controller_ = GetComponent <LeapHandController>();
 }