I must make copy of object, so it will be saved as prefab (it musn’t run scripts) using script, because it saves lots of diffrent objects with diffrent objects positions and script values etc. Let’s just say i want freezed object to have better view what’s going inside.
- it this possible to save prefab type variables?
- if not is this possible to freeze object from running any script?
prefab x = gameobject // i want here gameobject state while it was saved . . . Instantiate(x); Destroy(gameobject); // here loading object from earlier state and destroying actual