Hi, I’m looking for an efficient way to getting the system path of each GameObject in an array of GameObjects and returning them as a string.
I’ve been looking into AssetDatabase.GetAssetPath, but it doesn’t seem to return a valid string.
Debug.Log(AssetDatabase.GetAssetPath(_Cube*));*
Is there another, more efficient way to get the system path. And how might I get the above AssetDatabase to return a valid string?
I'm not an expert but, you could make an empty game object, attach a "GameController" script which will be always instantiated. From that script you can monitor the input and Instantiate/Destroy the objects you wish :)
– Datapax