GameObject zm = (GameObject)Instantiate(_enemy, _sp.position, _sp.rotation);
zm.GetComponent().enabled = true;
This doesnt seems to work i am getting error Cannot convert type UnityEngine.Transform' to
UnityEngine.GameObject’
How do i do this. It used to work before