Show / Hide Table of Contents

Class UM_ShareDialogBuilder

Dialog builder is used to pre-definee sharing dialog options.

Inheritance
System.Object
UM_ShareDialogBuilder
UM_EmailDialogBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.CrossPlatform.Social
Assembly: cs.temp.dll.dll
Syntax
public class UM_ShareDialogBuilder

Properties

Images

Images that was defined for the curreent builder.

Declaration
public List<Texture2D> Images { get; }
Property Value
Type Description
System.Collections.Generic.List<Texture2D>

The images.

Text

Defined sharing text.

Declaration
public string Text { get; }
Property Value
Type Description
System.String

TextWithUrl

Buildeer Text propeerty combined with the builder Url property

Declaration
public string TextWithUrl { get; }
Property Value
Type Description
System.String

The text with URL.

Url

Sharind dialog builder defined URL.

Declaration
public string Url { get; }
Property Value
Type Description
System.String

Methods

AddImage(Texture2D)

Adds an image that will be shared via the native dialog. Please note that image has to be redeable.

Declaration
public void AddImage(Texture2D image)
Parameters
Type Name Description
Texture2D image

Image.

SetText(String)

Set's the sharing Text.

Declaration
public void SetText(string text)
Parameters
Type Name Description
System.String text

Text.

SetUrl(String)

Set's the sharing URL

Declaration
public void SetUrl(string url)
Parameters
Type Name Description
System.String url

URL.

In This Article
Back to top Generated by DocFX