public void Start() { _screenTextDisplay = new ScreenTextDisplay(); int screenWidth = Screen.width, screenHeight = Screen.height; _screenTextDisplay.SetStartPosition(new Vector2(screenWidth - 300, screenHeight - 100)); _screenTextDisplay.SetStepDirection(StepDirection.Reverse); _currentLoadedScenes = new List <string>(); _lastClickedObjects = new List <GOData>(); _collectiveObjects = new List <Object>(); }
public void Start() { SetupGoose(); // Slightly larger GUI style for labels _guiStyle = new GUIStyle(); _guiStyle.fontSize = Screen.height * 2 / 100; _guiStyle.normal.textColor = new Color(1.0f, 1.0f, 1.0f, 1.0f); // Screen Text Display _screenTextDisplay = new ScreenTextDisplay(); _screenTextDisplay.SetStartPosition(new Vector2(20f, 20f)); _screenTextDisplay.Clear(); _foundObjects = new List <GameObject>(); _finderString = ""; }