var EnemyPrefab:Transform;
function Update () {
if(Input.GetButtonUp("Jump"))
{
var Enemy = Instantiate(GameObject.Find("MSBoD"), GameObject.find("Spawnpoint").transform.position, Quaternion.identity);
}
}
var EnemyPrefab:Transform;
function Update () {
if(Input.GetButtonUp("Jump"))
{
var Enemy = Instantiate(GameObject.Find("MSBoD"), GameObject.find("Spawnpoint").transform.position, Quaternion.identity);
}
}
It works, thanks
is there an error? that would be helpful to know.. the second "find" needs to be capitalized..
– Seth-Bergman