Example #1
0
 public override void Enter()
 {
     isUp = true;
     initialDepth = minDepth = maxDepth = context.depth;
     StartBlinkingDepthText();
     GameObject obj = Create3DArrow();
     arrow = (PointUpOrDown)obj.AddComponent(typeof(PointUpOrDown));
     context.playerControl.setControl(PlayerControl.Type.Accelerometer);
 }
Example #2
0
 public override void Enter()
 {
     isUp = true;
     initialDepth = minDepth = maxDepth = context.depth;
     StartBlinkingDepthText();
     GameObject obj = Create3DArrow();
     arrow = (PointUpOrDown)obj.AddComponent(typeof(PointUpOrDown));
     onPressedDelegate = new OnPressedDelegate(this.OnPressedAim);
     context.buttonAim.AddPressedDelegate(onPressedDelegate);
     context.buttonAim.StartBlinking();
     context.playerControl.setControl(PlayerControl.Type.Joystick);
 }