📅  最后修改于: 2022-03-11 14:48:48.136000             🧑  作者: Mango
DetectPlayer dp;
private void Awake()
{
GameObject gameObject = new GameObject("DetectPlayer");
dp = gameObject.AddComponent();
}