コード例 #1
0
 private void stageOne()
 {
     //rotate and move the spine to a suitable location
     model.rotateSmooth(Vector3.down, 135f, timeS1);
     model.moveSmooth(new Vector3(-0.6f, 0, 0), timeS1);
     model.zoomSmooth(2f, timeS1);
     //roate and move the needle
     syringe.rotateSmooth(Vector3.forward, 240f, timeS1);
     syringe.moveSmooth(new Vector3(0.5f, -0.5f, 0.15f), timeS1);
 }
コード例 #2
0
 private void stageTwo()
 {
     //Rotate entire model and zoom out slightly
     container.rotateSmooth(Vector3.up, 95f, timeS2);
     container.zoomSmooth(0.8f, timeS2);
 }