Pryme8 Posted January 24, 2018 Share Posted January 24, 2018 So if one can access mesh._enabled and can modify it directly what is the point of the setters and getters for it? Why not just strip the _ and make mesh.enabled the standard? so like mesh.enabled = <Boolean> vs <mesh>.setEnabled(<Boolean>); and mesh.enabled == ? vs <mesh>.isEnabled(); Seems redundant. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.