예제 #1
0
 public RotationEvent(SliceAndCopyCube scene)
 {
     this.scene = scene;
     this.objs  = scene.objs;
     this.frame = new int[this.objs.Length];
     for (int i = 0; i < NUM; ++i)
     {
         objs[i].obj.renderer.material.color = new Color(1.0f, 1.0f, 1.0f, 0);
     }
 }
예제 #2
0
 public ScaleEvent(SliceAndCopyCube scene)
 {
     this.scene = scene;
     this.objs  = scene.objs;
     this.frame = new int[scene.objs.Length];
 }
예제 #3
0
 public MovingEvent(SliceAndCopyCube scene, float distance = 0.32f)
 {
     this.scene    = scene;
     this.objs     = scene.objs;
     this.distance = distance;
 }