Version 3.3.1.2

Toast class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class Toast
Inheritance
  • System.Object
  • Toast

Constructors

Toast(ToastPosition, SdfIconType, String, Color, Single)
public Toast(ToastPosition position, SdfIconType icon, string text, Color color, float duration)
Parameters
ToastPosition position

SdfIconType icon

System.String text

UnityEngine.Color color

System.Single duration

Fields

Color
public Color Color
CurrentRect
public Rect? CurrentRect
Duration
public readonly float Duration
Icon
public readonly SdfIconType Icon
Text
public readonly string Text
TimePassed
public float TimePassed
ToastPosition
public readonly ToastPosition ToastPosition

Properties

Style
public static GUIStyle Style { get; }