説明なし
選択できるのは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. }