Answers for "Get Layers by name unity"

C#
0

Get Layers by name unity

using UnityEngine;public class Example : MonoBehaviour
{
    void Start()
    {
        Debug.Log(LayerMask.GetMask("UserLayerA", "UserLayerB"));
    }
}
Posted by: Guest on October-05-2021

C# Answers by Framework

Browse Popular Code Answers by Language