Fluxistence Posted July 2, 2018 Share Posted July 2, 2018 I've added some components to certain prefabs which are stackable. I'd like to make it so that when two stacks of these prefabs are combined, the properties of the extra component would be decided by a custom piece of code. At the moment, one item remains and its stack size increases, while the other disappears, which means the properties are decided by whichever item happens to remain. Usually I would want these properties to be reset to some minimum/maximum instead. Is it possible to do this? Thanks in advance. =) Link to comment Share on other sites More sharing options...
Fluxistence Posted July 2, 2018 Author Share Posted July 2, 2018 Same problem on splitting stacks (the created items should inherit properties of the original). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now