Skip to main content

Set Active On Platforms

namespace: qASIC

Introduction

This script changes the targeted object's active state depending on the platform.

tip

A good example of this is disabling the settings menu for mobile and webGL builds.

Setup

Attach the script to a GameObject you want to be toggled, then specify the targeted platforms and state.

Setup example