您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
16 行
353 B
16 行
353 B
using UnityEngine;
|
|
|
|
[ServerOnlyComponent]
|
|
public class SpawnPoint : MonoBehaviour
|
|
{
|
|
public int teamIndex;
|
|
|
|
#if UNITY_EDITOR
|
|
void OnDrawGizmos()
|
|
{
|
|
Gizmos.DrawCube(transform.position + transform.up, new Vector3(0.5f, 2.0f, 0.5f));
|
|
Gizmos.DrawRay(transform.position + transform.up * 1.5f, transform.forward);
|
|
}
|
|
#endif
|
|
|
|
}
|