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); }
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); }