var playerSpawn : Transform;
var player : Transform;
var golemSpawn : Transform;
var golem : Transform;
function Awake ()
{
playerSpawn = GameObject.Find(“StartUp”);
golemSpawn = GameObject.Find(“StartUp”);
}
Just a quick snippet from a script I’m trying to get working, but it keeps saying "Cannot convert ‘UnityEngine.GameObject’ to ‘UnityEngine.Transform’.
… which means I can’t use this script to find an object to assign as a Transform, which is bull honkey, because I know it can be done. So how do I go by doing this, since this is obviously wrong
Please format code when you post it.
– Eric5h5