void Start() { cube = GetComponent <Cube>(); cubeDisp = GetComponent <CubeDisplay>(); cube.newCubeGenerated += StopSolvingImmediately; }
private void Start() { ObjDisplay cube = new CubeDisplay(); cube.DisplayObj(); ObjDisplay sphere = new SphereDisplay(); sphere.DisplayObj(); }
// Use this for initialization void Start() { SetAllRightInactive(); SetRightToOpen(); SetAllLeftInactive(); SetLeftToOpen(); source = GetComponent <AudioSource>(); source.volume = 0.35f; cubeDisplay = infoCube.GetComponent <CubeDisplay>(); wristR_Default = wrist_Right.transform.localRotation; wristL_Default = wrist_Left.transform.localRotation; }
public CubeSimulator(SimulatorOptions options) { this.cube = new Cube(options.start_state); this.cube_display = options.cube_display; }