Exemple #1
0
 public void SetGripperState(int index, GripperState gripperState)
 {
     if (index <= GripperArr.Length && index >= 1)
     {
         GripperArr[index - 1].gripperState = gripperState;
     }
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="state"></param>
 public void respawn_obstructions(GripperState state)
 {
     var obstacles_spawner = FindObjectOfType <ObstacleSpawner>();
     //obstacles_spawner.SpawnObstacles(obstacles_spawner.number_of_cubes, obstacles_spawner.number_of_spheres);
 }
 ///<exclude/>
 public bool Equals(GripperState other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other._Tm.Equals(_Tm) && other._Status.Equals(_Status);
 }