{"action":"closed","issue":{"url":"https://api.github.com/repos/Tetracell/Glitch-Garden/issues/1","repository_url":"https://api.github.com/repos/Tetracell/Glitch-Garden","labels_url":"https://api.github.com/repos/Tetracell/Glitch-Garden/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Tetracell/Glitch-Garden/issues/1/comments","events_url":"https://api.github.com/repos/Tetracell/Glitch-Garden/issues/1/events","html_url":"https://github.com/Tetracell/Glitch-Garden/issues/1","id":182911667,"number":1,"title":"The scene fader is a piece of shit.","user":{"login":"Tetracell","id":8891666,"avatar_url":"https://avatars.githubusercontent.com/u/8891666?v=3","gravatar_id":"","url":"https://api.github.com/users/Tetracell","html_url":"https://github.com/Tetracell","followers_url":"https://api.github.com/users/Tetracell/followers","following_url":"https://api.github.com/users/Tetracell/following{/other_user}","gists_url":"https://api.github.com/users/Tetracell/gists{/gist_id}","starred_url":"https://api.github.com/users/Tetracell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tetracell/subscriptions","organizations_url":"https://api.github.com/users/Tetracell/orgs","repos_url":"https://api.github.com/users/Tetracell/repos","events_url":"https://api.github.com/users/Tetracell/events{/privacy}","received_events_url":"https://api.github.com/users/Tetracell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-13T21:48:07Z","updated_at":"2016-11-22T21:20:30Z","closed_at":"2016-11-22T21:20:30Z","body":"For whatever reason, I can't figure out a way to get the scenefader to not only do a fade in from the splash screen, but also at the start menu. The damn thing keeps being seen as not active, but it totally should be.\n\n`void Update() {\n        if (splashFirst)\n        {\n            splashLoader();\n        }\n        else\n        {\n            startLoader();\n        }\n    }`\n\nThis is what is supposed to handle the fading, and it works well enough for the splash screen. splashFirst is correctly identified, and works. startLoader is also recognized, but it sees the fade curtain as a disabled object.\n\n`void startLoader()\n    {\n        panelAlpha.a -= (1.0f / fadetime) * Time.deltaTime;\n        fadePanelStart.color = panelAlpha;\n        if (fadePanelStart.color.a <= 0)\n        {\n            fadePanelStart.enabled = false; // Disables the panel. Could also destroy it? What the fuck does it matter?\n            //Destroy(fadePanel);\n        }\n    }`\n\nIt's set as enabled in onLevelWasLoaded. So whatever, someday. Someday.\n"}}
{"actor":{"display_login":"Tetracell"}}