September 12, 2019
HFFWS Prefab Editing and Instantiation
Testing
TESTING
- How does altering prefab directly affect process of creating multiple instances?
- Can altering prefab help set the axis of moving platform?
Can altering prefab help set the axis of moving platform?
Yes, this approach worked. Setting the axis rotation on the prefab directly, THEN instantiating instances of the prefab had the platforms move in the newly set direction.
How does altering prefab directly affect process of creating multiple instances?
This does not appear to have any effect on previously instantiated instances of the prefab. Once an instance is created, changing the parameters of the prefab was NOT changing those parameters for the already instantiated. This gives more support to using this approach
FINAL NOTES
These tests do give this approach more support in being the one to use for now, since it does seem to accomplish all of the goals necessary at this time. It still makes me nervous that the prefab itself gets changed in the editor everytime play is run, and it can impact editor-set prefab instances, so I will continue to check in on different methods for instantiating objects as I move forward.