Skip to content

Can i run a prebuild scripts for a configuration without running the player build? #150

Closed Answered by robinnorth
MaroLFC asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @MaroLFC, yes, this is possible. If your custom script implements the IPreBuildPerPlatformActionCanConfigureEditor interface, you'll see a 'Configures Editor' checkbox appear on your build action, like so:

If you check this, the action will then be run when the 'Configure Editor Environment' button is pressed, which runs any pre-build actions with this option enabled, but doesn't run the build itself, or any post-build actions.

Here's an example of a class implementing the interface. There are no member functions to implement, the interface is just used as a means to filter out which pre-build actions should be considered when configuring the Editor:

public class Example: BuildAction,…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by robinnorth
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #119 on August 21, 2024 16:00.