Created
July 9, 2016 20:46
-
-
Save z3t0/16990e5298a211a0dd23a8c242edd434 to your computer and use it in GitHub Desktop.
This sets the Transform of the new gameobject to RectTransform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
consoleView = new GameObject(); | |
consoleView.layer = 5; // UI | |
consoleView.name = "ConsoleView"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment