Beispiel #1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();          // Draw deafult inspector vairables

        Dead skinUpdator = (Dead)target; // Get access to the skin updator

        if (GUILayout.Button("Refresh"))
        {
            skinUpdator.Refresh();
        }
    }