View Categories

Key Exists

Description

Returns a boolean that shows whether the provided key (string) exists in AMA Loxis in any of the categories.

Type

Method

Syntax

bool doesSomeKeyExists = loxisManager.keyExist("someKey"); 

Example

using UnityEngine;
using AMACreative.Loxis;

public class LangaugeChangeTester : MonoBehavior

// Get reference to a LoxisManager instance through the inspector
[SerializeField] private LoxisManager loxisManager;

    private void Start()
    {
        bool doesHelloExists = loxisManager.keyExist("hello");
    }
} 

Leave a Reply

Your email address will not be published. Required fields are marked *