예제 #1
0
파일: HandPool.cs 프로젝트: prosa100/vros
 // 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>();
 }
예제 #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>();
 }
예제 #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>();
 }
예제 #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>();
 }