Hey _Aka_,
https://drive.google.com/file/d/1_njK1N8...sp=sharing
I made this scene for you to check it out.
1) That resetting value problem which I told you, was because of commenting Undo.DestroyObjectImmediate(gameObject); in Delete function of CGModule. It works correct now.
But another problem after solving resetting problem happens. Which is after play mode if I try to change position or lane of an object it creates another mesh besides the mesh which was created before. It happens each time you change lane or position value after first time you hit the play button.
2) Still I get that error.
3) Also I want to know why position (To and From) is different that Spline Controller position and how I can fix it ? (I really need end and start of the mesh and same as Spline Controller position)
https://drive.google.com/file/d/1_njK1N8...sp=sharing
I made this scene for you to check it out.
1) That resetting value problem which I told you, was because of commenting Undo.DestroyObjectImmediate(gameObject); in Delete function of CGModule. It works correct now.
But another problem after solving resetting problem happens. Which is after play mode if I try to change position or lane of an object it creates another mesh besides the mesh which was created before. It happens each time you change lane or position value after first time you hit the play button.
2) Still I get that error.
3) Also I want to know why position (To and From) is different that Spline Controller position and how I can fix it ? (I really need end and start of the mesh and same as Spline Controller position)