DrawPreview() static private method

static private DrawPreview ( IPreviewable defaultPreview, Rect previewArea, Object targets ) : void
defaultPreview IPreviewable
previewArea UnityEngine.Rect
targets Object
return void
 public override void DrawPreview(Rect previewArea)
 {
     ObjectPreview.DrawPreview(this, previewArea, new UnityEngine.Object[]
     {
         base.targets[0]
     });
 }
Exemplo n.º 2
0
 public void DrawPreview(Rect previewArea)
 {
     ObjectPreview.DrawPreview(this, previewArea, this.m_Targets);
 }
Exemplo n.º 3
0
 public virtual void DrawPreview(Rect previewArea)
 {
     ObjectPreview.DrawPreview(this, previewArea, targets);
 }
Exemplo n.º 4
0
 public override void DrawPreview(Rect previewArea)
 {
     ObjectPreview.DrawPreview(this, previewArea, new Object[] { targets[0] }); // only draw the first preview - all the selected systems share it
 }
Exemplo n.º 5
0
 /// <summary>
 ///   <para>The first entry point for Preview Drawing.</para>
 /// </summary>
 /// <param name="previewPosition">The available area to draw the preview.</param>
 /// <param name="previewArea"></param>
 public virtual void DrawPreview(Rect previewArea)
 {
     ObjectPreview.DrawPreview((IPreviewable)this, previewArea, this.targets);
 }