Exemplo n.º 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>();
 }
Exemplo n.º 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>();
 }
Exemplo n.º 3
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>();
 }
Exemplo n.º 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>();
 }