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); } }
public ScaleEvent(SliceAndCopyCube scene) { this.scene = scene; this.objs = scene.objs; this.frame = new int[scene.objs.Length]; }
public MovingEvent(SliceAndCopyCube scene, float distance = 0.32f) { this.scene = scene; this.objs = scene.objs; this.distance = distance; }