編輯

共用方式為


NonNativeKeyboard.RepositionKeyboard Method

Definition

Overloads

RepositionKeyboard(Vector3, Single)

Function to reposition the Keyboard based on target position and vertical offset

RepositionKeyboard(Transform, BoxCollider, Single)

Function to reposition the keyboard based on target transform and collider information

RepositionKeyboard(Vector3, Single)

Function to reposition the Keyboard based on target position and vertical offset

public void RepositionKeyboard (UnityEngine.Vector3 kbPos, float verticalOffset = 0);
member this.RepositionKeyboard : UnityEngine.Vector3 * single -> unit
Public Sub RepositionKeyboard (kbPos As Vector3, Optional verticalOffset As Single = 0)

Parameters

kbPos
UnityEngine.Vector3

World position for keyboard

verticalOffset
Single

Optional vertical offset of keyboard

Applies to

RepositionKeyboard(Transform, BoxCollider, Single)

Function to reposition the keyboard based on target transform and collider information

public void RepositionKeyboard (UnityEngine.Transform objectTransform, UnityEngine.BoxCollider aCollider = default, float verticalOffset = 0);
member this.RepositionKeyboard : UnityEngine.Transform * UnityEngine.BoxCollider * single -> unit
Public Sub RepositionKeyboard (objectTransform As Transform, Optional aCollider As BoxCollider = Nothing, Optional verticalOffset As Single = 0)

Parameters

objectTransform
UnityEngine.Transform

Transform of target object to remain relative to

aCollider
UnityEngine.BoxCollider

Optional collider information for offset placement

verticalOffset
Single

Optional vertical offset from the target

Applies to