暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

SimpleMultiplayerPlayer.cs 364B

1234567891011
  1. using UnityEngine;
  2. public class SimpleMultiplayerPlayer : MonoBehaviour
  3. {
  4. // Just add *some* kind of movement. The specifics here are not of interest. Serves just to
  5. // demonstrate that the inputs are indeed separate.
  6. public void OnTeleport()
  7. {
  8. transform.position = new Vector3(Random.Range(-75, 75), 0.5f, Random.Range(-75, 75));
  9. }
  10. }