GameBuilders CommunityLog in

GameBuilders - Video Game Development Community, including Resources, Forums, Marketplace & More.

descriptionNeed Script to enable and disable the image(game object) EmptyNeed Script to enable and disable the image(game object)

more_horiz
I have few images but only three images can be shown at a time, if only three images present inside the app, scroll button should not appear.

that's why i need script which can enable and disable particuar scroll button which is image file

descriptionNeed Script to enable and disable the image(game object) EmptyRe: Need Script to enable and disable the image(game object)

more_horiz
Hi
try entering the code.
you do not understand much what you want.

descriptionNeed Script to enable and disable the image(game object) EmptyRe: Need Script to enable and disable the image(game object)

more_horiz
public gameObject scrollpicture;
private int picturesshown;

if (picturesshown >=3)
{
scrollpicture.SetActive(false);
}
Permissions in this forum:
You cannot reply to topics in this forum