16 lines
243 B
C#
16 lines
243 B
C#
using UnityEngine;
|
|
|
|
public class SpawnPlayer : MonoBehaviour
|
|
{
|
|
public GameObject playerObject;
|
|
|
|
private void Awake()
|
|
{
|
|
Object.Instantiate(playerObject, base.transform.position, base.transform.rotation);
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
}
|
|
}
|