Abstract

The problem we are trying to solve in this paper is how to determine whether the operation sequence is correct and how to achieve undo and redo when we design the virtual chemistry experiment platform in Unity3d. The approach we adopt to solve the problem is we mainly use the design idea of directed acyclic graph to solve the problem of judging operation sequence. We use command pattern and stack data structure to achieve the methods of undo and redo. By solving the above problems, we have successfully implemented the sequence of judgment and the methods of undo and redo in Unity3d. The methods implemented in this paper are not only applicable to the virtual chemistry experiment platform, but also play a role in other systems need them.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call