public override void Setup(float startTime) { room.addSplitLine(); room.openEyes(); room.openEyes(); var guyLeftPivot = room.guyLeft.createPivotOnBottomRightCorner(); var guyRightPivot = room.guyRight.createPivotOnBottomLeftCorner(); wiggler = new Wiggler(startTime, timeLength, new[] { guyLeftPivot }); reverseWiggler = new ReverseWiggler(startTime, timeLength, new[] { guyRightPivot }); sensor = new TouchSensor(input, gameObjectFinder); prodResponses = new Dictionary <GameObject, ActionResponsePair[]> { { room.guyLeft.gameObject, new [] { new ActionResponsePair("prod Same", new[] { "it's already awake." }), new ActionResponsePair("prod Same", new[] { "listen to the lyrics." }) } }, { room.guyRight.gameObject, new [] { new ActionResponsePair("prod Not Same", new[] { "it's already awake." }), new ActionResponsePair("prod Not Same", new[] { "listen to the lyrics." }) } }, }; }
public override void Setup(float startTime) { room.addSplitLine(); room.openEyes(); room.openEyes(); var guyLeftPivot = room.guyLeft.createPivotOnBottomRightCorner(); var guyRightPivot = room.guyRight.createPivotOnBottomLeftCorner(); wiggler = new Wiggler(startTime, timeLength, new[] {guyLeftPivot}); reverseWiggler = new ReverseWiggler(startTime, timeLength, new[] {guyRightPivot}); sensor = new TouchSensor(input, gameObjectFinder); prodResponses = new Dictionary<GameObject, ActionResponsePair[]> { {room.guyLeft.gameObject, new [] { new ActionResponsePair("prod Same", new[] {"it's already awake."}), new ActionResponsePair("prod Same", new[] {"listen to the lyrics."})}}, {room.guyRight.gameObject, new [] { new ActionResponsePair("prod Not Same", new[] {"it's already awake."}), new ActionResponsePair("prod Not Same", new[] {"listen to the lyrics."})}}, }; }