Ejemplo n.º 1
0
 public override void ElementReset()
 {
     base.ElementReset();
     name = ObstacleSetting.Name;
     transform.position   = TestDataManager.ParseV3(ObstacleSetting.Pos);
     transform.rotation   = Quaternion.Euler(TestDataManager.ParseV3(ObstacleSetting.Rot));
     transform.localScale = TestDataManager.ParseV3(ObstacleSetting.Scale);
 }