vrchat-community / EasyQuestSwitch

EasyQuestSwitch is a Unity editor tool developed for VRChat world creators, it can automate changes to components within a scene as soon as the build platform is changed from PC to Android (for Oculus Quest) or vice versa.
Other
126 stars 13 forks source link

Automatically removing components #29

Open BlackCherryCat opened 6 months ago

BlackCherryCat commented 6 months ago

I would like EQS to be able to remove components (such as constraints) when moving the target to Android and then recover those components when moving the target to Windows.

techanon commented 6 months ago

I agree, though with a variation on it. I think that the components should be only removed in a non-destructive way using the [PostProcessScene] mechanism so that it only removes them on world build and on playmode enter. This removes the need for EQS to keep track of all the serialized data between platform swaps. This should also apply to GameObjects themselves as well.