Example #1
0
    void Start()
    {
       // slaveMaker.character.measurements.height = 10;
        //Debug.Log(slaveMaker.character.measurements.height.ToString());

        menuOptions.GetResolutions();
        HideAll();
        StartMenu.SetActive(true);
        Background.SetActive(true);
        // folder path, file name, class type
        xmlSave.Load("Core", "Config", "DataBaseOptionMenu");
        
        
        
        


        // test code from here
        //Sprite sprite1;
        //sprite1 = Resources.Load<Sprite>("Assets/mllhild/9148104275cc367e_2");
        //IntroSceneImage.sprite = sprite1;
        //IntroSceneImage.preserveAspect = false;
        //IntroSceneImage.sprite = Resources.Load<Sprite>("mllhild/017.jpg");
        //Debug.LogFormat("asdas");
        //IntroSceneImage.sprite = Resources.Load<Sprite>("mllhild/017.jpg") as Sprite;
        //IntroSceneImage.enabled = false;
        //myTexture = Resources.Load("Images/SampleImage") as Texture2D;

        //GameObject rawImage = GameObject.Find("RawImage");
        //rawImage.GetComponent<RawImage>().texture = myTexture;



        // to here
    }