public GameItem CreateGameObject(Vector3 position, Quaternion rotation) { position.z = -10f; GameItem gItem = Instantiate(prefab, position, rotation).GetComponent <GameItem>(); gItem.Configure(this); return(gItem); }