示例#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>();
 }