This pr aims to remove
IDisplaceable and BlockFaceBehaviour.
For IDisplaceable:
We can handle the highlighting of faces within each plugin and block movement information through delegates. However we must be careful in ensuring that highlighted faces can indeed be moved and vice versa. May need to check for more cases. Do need help to test.
Remove BlockFaceBehaviour:
In many cases we do a GetComponent for both BlockFaceBehaviour and BlockBehaviour. Combining them into one script will be more performant.
This pr aims to remove
IDisplaceable
andBlockFaceBehaviour
.For
IDisplaceable
: We can handle the highlighting of faces within each plugin and block movement information through delegates. However we must be careful in ensuring that highlighted faces can indeed be moved and vice versa. May need to check for more cases. Do need help to test.Remove
BlockFaceBehaviour
: In many cases we do aGetComponent
for bothBlockFaceBehaviour
andBlockBehaviour
. Combining them into one script will be more performant.