Watermark.IsVisible

Declaration

public static bool IsVisible();

Returns

bool True, if the watermark is visible.

Description

Returns true if the watermark is visible on-screen. Whether the watermark is visible depends on your build settings and Unity plan.

The following code sample checks if the watermark is visible.

using System.Collections;
using UnityEngine;
using UnityEngine.Rendering;

public class WatermarkExample : MonoBehaviour { void Start() { if(Watermark.IsVisible()) { Debug.Log("Watermark is visible in current setup"); } } }

Did you find this page useful? Please give it a rating: