Skip to content

Add missing import to fix build#2

Open
henryalias wants to merge 1 commit intoMaciejSzybiak:masterfrom
henryalias:fix-import
Open

Add missing import to fix build#2
henryalias wants to merge 1 commit intoMaciejSzybiak:masterfrom
henryalias:fix-import

Conversation

@henryalias
Copy link

@henryalias henryalias commented May 1, 2023

The project runs fine in the Editor but fails to build because of a missing import. I fixed this here.

The code that was breaking (CommandManager:145):

#if UNITY_EDITOR
        UnityEditor.EditorApplication.isPlaying = false;
#else
        Console.LogWarning("pepehands");
        Application.Quit(); <-- here
#endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant