public void RegisterTexture(string name, LMS_Txt txt)
    {
        Texture2D tex;

        LMS_GuiTexureLoader.LoadTexture(txt.GetRawText(), out tex);
        LMS_Textures.AddCache(name, tex);
    }
Ejemplo n.º 2
0
 void OnGUI()
 {
     CreateMenu();
     if (GUILayout.Button("dankk memz?"))
     {
         //test stringTOColor
         Debug.Log(LMS_GuiBaseUtils.StringToColor("blue").ToString());
     }
     GUI.skin = null;
     txt      = GUI.TextField(new Rect(100f, 50f, 200f, 40f), txt);
     GUILayout.Label(LMS_Txt.Resolve(txt).ToString());
 }