Ejemplo n.º 1
0
 public override void Init()
 {
     this.stickyToolbar = new GUIStyle(DeGUI.styles.toolbar.flat);
     this.stickyTitle   = GUIStyleExtensions.ContentOffsetX(GUIStyleExtensions.MarginBottom(GUIStyleExtensions.Clone(new GUIStyle(GUI.skin.label), new object[]
     {
         FontStyle.Bold,
         11
     }), 0), -2f);
     this.warningLabel = GUIStyleExtensions.Background(GUIStyleExtensions.Add(new GUIStyle(GUI.skin.label), new object[]
     {
         Color.black,
         0
     }), DeStylePalette.orangeSquare, null);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Needs to be overridden in order to initialize new styles added from inherited classes
 /// </summary>
 public override void Init()
 {
     //IL_0001: Unknown result type (might be due to invalid IL or missing references)
     //IL_0006: Unknown result type (might be due to invalid IL or missing references)
     this.stickyToolbar = new GUIStyle(DeGUI.styles.toolbar.flat);
     this.stickyTitle   = GUIStyleExtensions.ContentOffsetX(GUIStyleExtensions.MarginBottom(GUIStyleExtensions.Clone(new GUIStyle(GUI.skin.label), new object[2]
     {
         FontStyle.Bold,
         11
     }), 0), -2f);
 }
Ejemplo n.º 3
0
 // Methods
 public override void Init()
 {
     if (DeGUI.styles.toolbar.flat == null)
     {
         DeGUI.styles.toolbar.Init();
     }
     this.stickyToolbar = new GUIStyle(DeGUI.styles.toolbar.flat);
     object[] objArray1 = new object[] { FontStyle.Bold, 11 };
     this.stickyTitle = GUIStyleExtensions.ContentOffsetX(GUIStyleExtensions.MarginBottom(GUIStyleExtensions.Clone(new GUIStyle(GUI.skin.label), objArray1), 0), -2f);
 }