public GameObject Spawn(Vector3 Position) { SceneItem Item = Instantiate(Prefab).GetComponent <SceneItem>(); Item.transform.position = Position; Item.Init(this); return(Item.gameObject); }
public GameObject Spawn(Vector3 Position) { SceneItem Item = Instantiate(Prefab).GetComponent <SceneItem>(); Item.transform.position = Position; Item.Init(this); return(Item.gameObject); }