I am trying to work with the ArrayList sample scene GameObjectPositioning.
With platform set to iOS.
I am using this sample as a basis for creating an ArrayList of textures to replace the existing texture as supplied with the cube.
I have created and ArrayList called Texture ArrayList using the PM Array List Proxy script
PreFilled type : Texture
PreFill Count : 7
Then 7 textures.
State – find color array
I have placed a Find Array List called Texture ArrayList storing to GameObject Variable Texture ArrayList
State – get color from array
Placed Array List Get game object Texture ArrayList, get Texture data a texture variable texture
State - Set color
Set Material Texture
Placed Use Owner, Mat index 0, Named Texture _MainTex, Texture variable texture
It doesn't work. I get colored cubes but no texture not even the default logo texture.
Debug Game Object "Texture ArrayList" returns 'Texture Array List : none'
yet Debug Game Object "Color ArrayList" returns 'Texture Array List : Color ArrayList'
Sorry but I am a bit lost here. It looks to me as though I have replicated the example exactly but that the ArrayList for the textures doesn't seem to exist???