Class DisplayUGUI
  
  Displays the video from MediaPlayer component using uGUI
 
  
  
    Inheritance
    System.Object
    DisplayUGUI
   
  
  Assembly: cs.temp.dll.dll
  
  
    public class DisplayUGUI : MaskableGraphic
   
  Properties
  
  
  
  
  
  Declaration
  
    public bool ApplyNativeSize { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  Declaration
  
    public MediaPlayer CurrentMediaPlayer { get; set; }
   
  Property Value
  
  
  DefaultTexture
  
  
  Declaration
  
    public Texture DefaultTexture { get; set; }
   
  Property Value
  
  
  
  
  
  Declaration
  
    public bool DisplayInEditor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  mainTexture
  Returns the texture used to draw this Graphic.
 
  
  Declaration
  
    public override Texture mainTexture { get; }
   
  Property Value
  
  
  
  
  
  Declaration
  
    public bool NoDefaultDisplay { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  Declaration
  
    public MediaPlayer Player { get; set; }
   
  Property Value
  
  
  
  
  
  Declaration
  
    public ScaleMode ScaleMode { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | ScaleMode | 
         | 
      
    
  
  
  
  UV rectangle used by the texture.
 
  
  Declaration
  
    public Rect uvRect { get; set; }
   
  Property Value
  
  
  
  
  
  Declaration
  
    public Rect UVRect { get; set; }
   
  Property Value
  
  Methods
  
  
  
  
  
  Declaration
  
    protected override void Awake()
   
  
  HasValidTexture()
  
  
  Declaration
  
    public bool HasValidTexture()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  Declaration
  
    protected override void OnDestroy()
   
  
  
  
  
  Declaration
  
    protected override void OnPopulateMesh(VertexHelper vh)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | VertexHelper | 
        vh | 
         | 
      
    
  
  
  
  Adjust the scale of the Graphic to make it pixel-perfect.
 
  
  Declaration
  
    public override void SetNativeSize()
   
  
  
  
  
  Declaration
  
    protected override void Start()