Show / Hide Table of Contents

Class GUIContent

Inheritance
Object
GUIContent
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
[Serializable]
public class GUIContent

Constructors

| Improve this Doc View Source

GUIContent()

Declaration
public GUIContent()
| Improve this Doc View Source

GUIContent(String)

Declaration
public GUIContent(string text)
Parameters
Type Name Description
String text
| Improve this Doc View Source

GUIContent(String, String)

Declaration
public GUIContent(string text, string tooltip)
Parameters
Type Name Description
String text
String tooltip
| Improve this Doc View Source

GUIContent(String, Texture)

Declaration
public GUIContent(string text, Texture image)
Parameters
Type Name Description
String text
Texture image
| Improve this Doc View Source

GUIContent(String, Texture, String)

Declaration
public GUIContent(string text, Texture image, string tooltip)
Parameters
Type Name Description
String text
Texture image
String tooltip
| Improve this Doc View Source

GUIContent(GUIContent)

Declaration
public GUIContent(GUIContent src)
Parameters
Type Name Description
GUIContent src
| Improve this Doc View Source

GUIContent(Texture)

Declaration
public GUIContent(Texture image)
Parameters
Type Name Description
Texture image
| Improve this Doc View Source

GUIContent(Texture, String)

Declaration
public GUIContent(Texture image, string tooltip)
Parameters
Type Name Description
Texture image
String tooltip

Fields

| Improve this Doc View Source

none

Declaration
public static GUIContent none
Field Value
Type Description
GUIContent

Properties

| Improve this Doc View Source

image

Declaration
public Texture image { get; set; }
Property Value
Type Description
Texture
| Improve this Doc View Source

text

Declaration
public string text { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

tooltip

Declaration
public string tooltip { get; set; }
Property Value
Type Description
String

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX