Pandemic 2714 Share Posted November 21, 2015 You're trying to use those list models before you set them. Move those last two lines to before the initComponents call. Link to comment Share on other sites More sharing options...
infallible 28 Share Posted November 21, 2015 You're trying to use those list models before you set them. Move those last two lines to before the initComponents call. Thanks. Did it have to be before initComponents or just before the other 2 lines of code? So I'm using the method in the first picture to pull the rocks as game objects and use them in the method in the second picture to set a list of gameobjects when the refresh button is pressed and nothing is happening. The pull method getnearbyrocks looks sound, it must be an issue with the lists and converting to models. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.