IsVisible()
Returns true if the watermark is visible on-screen. Whether the watermark is visible depends on your build settings and Unity plan.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public static bool IsVisible()
Returns
Type | Description |
|---|---|
| bool | True, if the watermark is visible. |
Remarks
The following code sample checks if the watermark is visible.
Examples
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"); } }}