FragMate CommunityLog in

FragMate - Software and Game Developer Community, including Resources, Forums, Marketplace & More.

Share

descriptionNeed 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

descriptionRe: 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.

descriptionRe: 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