using System.Collections.Generic; using UnityEngine; public class CharacterManager : MonoBehaviour { public GameObject m_archerObject; // Start is called before the first frame update void Start() { } public void SpawnCharacter(int characterType) { Instantiate(m_archerObject); } }