Example #1
0
        /// <summary>
        /// Initializes the <see cref="LoadRobotState"/>.
        /// </summary>
        public override void Start()
        {
            robotDirectory = PlayerPrefs.GetString("RobotDirectory", (Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "//synthesis//Robots"));
            robotList      = GameObject.Find("SimLoadRobotList").GetComponent <SelectScrollable>();

            robotList.ThumbTexture  = Resources.Load("Images/New Textures/Synthesis_an_Autodesk_Technology_2019_lockup_OL_stacked_no_year") as Texture2D;
            robotList.ListTextColor = Color.black;
        }
Example #2
0
        /// <summary>
        /// Initializes the <see cref="LoadRobotState"/>.
        /// </summary>
        public override void Start()
        {
            Auxiliary.FindGameObject("SimLoadRobot").SetActive(true);
            robotDirectory = PlayerPrefs.GetString("RobotDirectory");
            robotList      = GameObject.Find("SimLoadRobotList").GetComponent <SelectScrollable>();

            robotList.ThumbTexture  = Resources.Load("Images/New Textures/Synthesis_an_Autodesk_Technology_2019_lockup_OL_stacked_no_year") as Texture2D;
            robotList.ListTextColor = Color.white;
        }
Example #3
0
        /// <summary>
        /// Initializes required <see cref="GameObject"/> references.
        /// </summary>
        public override void Start()
        {
            fieldDirectory        = PlayerPrefs.GetString("FieldDirectory", (Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Autodesk\synthesis\Fields"));
            mixAndMatchModeScript = Auxiliary.FindGameObject("MixAndMatchModeScript");
            splashScreen          = Auxiliary.FindGameObject("LoadSplash");
            fieldList             = GameObject.Find("SimLoadFieldList").GetComponent <SelectScrollable>();

            fieldList.ThumbTexture  = Resources.Load("Images/New Textures/Synthesis_an_Autodesk_Technology_2019_lockup_OL_stacked_no_year") as Texture2D;
            fieldList.ListTextColor = Color.black;
        }
Example #4
0
        /// <summary>
        /// Initializes required <see cref="GameObject"/> references.
        /// </summary>
        public override void Start()
        {
            Auxiliary.FindGameObject("SimLoadField").SetActive(true);
            fieldDirectory        = PlayerPrefs.GetString("FieldDirectory");
            mixAndMatchModeScript = Auxiliary.FindGameObject("MixAndMatchModeScript");
            splashScreen          = Auxiliary.FindGameObject("LoadSplash");
            fieldList             = GameObject.Find("SimLoadFieldList").GetComponent <SelectScrollable>();

            fieldList.ThumbTexture  = Resources.Load("Images/New Textures/Synthesis_an_Autodesk_Technology_2019_lockup_OL_stacked_no_year") as Texture2D;
            fieldList.ListTextColor = Color.black;
        }