DevOps 1 Share Posted July 21, 2017 Hey guys, I'm working on my miner script but i need some inspiration with handling different types of rocks. Can you guys post a snippet how you would approach this? Color or ID? Thanks in advance - DevOps Link to comment Share on other sites More sharing options...
LogicSoup 92 Share Posted July 21, 2017 color Link to comment Share on other sites More sharing options...
DevOps 1 Author Share Posted July 21, 2017 color Do you have like a snippet for this method? Link to comment Share on other sites More sharing options...
Soldtodie 76 Share Posted July 21, 2017 public boolean isMined(GameObject rock) { return rock == null || rock.getModelColors() == null; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.