文档

Unity Engine

Unity Engine

EditInput(string, string, string, int, ClusterInputType)

Edit an input entry which added via ClusterInput.AddInput.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ClusterInputModule
警告
Deprecated. This type is deprecated and will be removed in a future release.
public static bool EditInput(string name, string deviceName, string serverUrl, int index, ClusterInputType type)

Parameters

name

Name of the input entry. This has to be unique.

deviceName

Device name registered to VRPN server.

serverUrl

URL to the vrpn server.

index

Index of the Input entry, refer to vrpn.cfg if unsure.

Type of the ClusterInputType as follow.

Returns

Type

Description

bool

Remarks

This function is not able to edit persistent input entry defined at “Project Setting > Cluster Input”.
Additional Resources:ClusterInput.AddInput.