NendUnityPlugin 5.2.0
|
Builder to set layout of icon ad. More...
Public Member Functions | |
NendAdIconLayoutBuilder | Orientation (Orientation orientation) |
Set orientation. More... | |
NendAdIconLayoutBuilder | Gravity (int tag, int gravity) |
Set gravity to icon of specific tag. More... | |
NendAdIconLayoutBuilder | MarginLeft (int tag, float value) |
Set left margin to icon of specific tag. More... | |
NendAdIconLayoutBuilder | MarginTop (int tag, float value) |
Set top margin to icon of specific tag. More... | |
NendAdIconLayoutBuilder | MarginRight (int tag, float value) |
Set right margin to icon of specific tag. More... | |
NendAdIconLayoutBuilder | MarginBottom (int tag, float value) |
Set bottom margin to icon of specific tag. More... | |
NendAdIconLayoutBuilder | Size (int tag, int size) |
Set size to icon of specific tag. More... | |
NendAdIconLayoutBuilder | SpaceEnabled (int tag, bool enabled) |
Set presence or absence of space to icon of specific tag. More... | |
NendAdIconLayoutBuilder | TitleVisible (int tag, bool titleVisible) |
Set presence or absence of the display of title to icon of specific tag. More... | |
NendAdIconLayoutBuilder | TitleColor (int tag, string titleColor) |
Set title color to icon of specific tag. More... | |
Public Member Functions inherited from NendUnityPlugin.Layout.NendAdDefaultLayoutBuilder | |
NendAdDefaultLayoutBuilder | Unit (ComplexUnit unit) |
Set unit of numeric value. More... | |
NendAdDefaultLayoutBuilder | Gravity (int gravity) |
Set gravity. More... | |
NendAdDefaultLayoutBuilder | MarginLeft (float value) |
Set left margin. More... | |
NendAdDefaultLayoutBuilder | MarginTop (float value) |
Set top margin. More... | |
NendAdDefaultLayoutBuilder | MarginRight (float value) |
Set right margin. More... | |
NendAdDefaultLayoutBuilder | MarginBottom (float bottom) |
Set bottom margin. More... | |
Builder to set layout of icon ad.
e.g. Place icon ad aligned horizontally in the upper right of the screen, leaving little margin.
The layout of each icon ad can be changed with specifying icon add tag to each methods. The tag can be set at UnityPlayer's Inspector.
e.g. Place icon ad on the screen four corners, leaving little margin.
e.g. Place icon ad in specific size.
NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.Orientation | ( | Orientation | orientation | ) |
Set orientation.
orientation | Orientation. |
NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.Gravity | ( | int | tag, |
int | gravity | ||
) |
Set gravity to icon of specific tag.
tag | Tag of icon. |
gravity | Gravity. |
NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.MarginLeft | ( | int | tag, |
float | value | ||
) |
Set left margin to icon of specific tag.
tag | Tag of icon. |
value | Value of left margin. |
NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.MarginTop | ( | int | tag, |
float | value | ||
) |
Set top margin to icon of specific tag.
tag | Tag of icon. |
value | Value of top margin. |
NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.MarginRight | ( | int | tag, |
float | value | ||
) |
Set right margin to icon of specific tag.
tag | Tag of icon. |
value | Value of right margin. |
NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.MarginBottom | ( | int | tag, |
float | value | ||
) |
Set bottom margin to icon of specific tag.
tag | Tag of icon. |
bottom | Value of bottom margin. |
NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.Size | ( | int | tag, |
int | size | ||
) |
Set size to icon of specific tag.
tag | Tag of icon. |
size | Size of icon. |
NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.SpaceEnabled | ( | int | tag, |
bool | enabled | ||
) |
Set presence or absence of space to icon of specific tag.
tag | Tag of icon. |
enabled | If set to true , space of icon enabled. |
true
. NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.TitleVisible | ( | int | tag, |
bool | titleVisible | ||
) |
Set presence or absence of the display of title to icon of specific tag.
tag | Tag of icon. |
titleVisible | If set to true , title of icon visible. |
true
. NendAdIconLayoutBuilder NendUnityPlugin.Layout.NendAdIconLayoutBuilder.TitleColor | ( | int | tag, |
string | titleColor | ||
) |
Set title color to icon of specific tag.
tag | Tag of icon. |
titleColor | Title color. |
e.g. Set red.
"#000000"
(Black). "#rrggbb"
format.