public override void OnEnter() { GameObject.Instantiate(Resources.Load("Prefabs/Player"), new Vector3(0, 0, 0), Quaternion.identity); FadeUtility.FadeIn(3); }
void Start() { Instantiate(PlayerPrefab, new Vector3(0, 0, 0), Quaternion.identity); FadeUtility.FadeIn(3); }