Custom GUISkin on new UI

I have created a custom GUI Skin but when I attach a script that calls the new GUI Skin it doesn’t recognise it at all.

The script I use is:
using UnityEngine;
using System.Collections;

**public class GUITest : MonoBehaviour {
public GUISkin Style;

void OnGUI () { = Style;


Any help would be great.

1 - See:

2 - This work:

using UnityEngine;
using System.Collections;

public class Myclass : MonoBehaviour {    
public GUISkin myGuiskin;

void OnGUI() { = myGuiskin;
GUI.Button(new Rect(50,150, 200, 30),mybutton);


3 - Click the right mouse button on your project and click the GUI SKIN option.

4 - Drag the script and the SKIN GUI for a GameObject.

5 - Remember that you will customize your buttons , label , Toggle , who are after : = myGuiskin; in your code within OnGUI().

6 - With everything done that you can now customize your GUI by clicking the GUI SKIN created and making the changes you want , sizes colors …