예제 #1
0
 public LocomotionTextModule(RectTransform ParentTransform) : base(ParentTransform)
 {
     this.InstanciatedText.text =
         InputConfigurationInherentData2ReadableText.ConvertInputConfigurationToAReadabledText(InputConfigurationGameObject.Get().InputConfiguration.ConfigurationInherentData[InputID.UP_DOWN_HOLD], ShowPressType: false)
         + ", " + InputConfigurationInherentData2ReadableText.ConvertInputConfigurationToAReadabledText(InputConfigurationGameObject.Get().InputConfiguration.ConfigurationInherentData[InputID.LEFT_DOWN_HOLD], ShowPressType: false)
         + ", " + InputConfigurationInherentData2ReadableText.ConvertInputConfigurationToAReadabledText(InputConfigurationGameObject.Get().InputConfiguration.ConfigurationInherentData[InputID.RIGHT_DOWN_HOLD], ShowPressType: false)
         + ", " + InputConfigurationInherentData2ReadableText.ConvertInputConfigurationToAReadabledText(InputConfigurationGameObject.Get().InputConfiguration.ConfigurationInherentData[InputID.DOWN_DOWN_HOLD], ShowPressType: false)
         + " : Movement.";
 }
예제 #2
0
 public CameraTextModule(RectTransform ParentTransform) : base(ParentTransform)
 {
     this.InstanciatedText.text = InputConfigurationInherentData2ReadableText.ConvertInputConfigurationToAReadabledText(InputConfigurationGameObject.Get().InputConfiguration.ConfigurationInherentData[InputID.CAMERA_ROTATION_DOWN_HOLD]) + " + Mouse movement : Camera rotation." + "\r\n" +
                                  InputConfigurationInherentData2ReadableText.ConvertInputToReadableText(InputID.CAMERA_ZOOM);
 }