Answers for "unity find layer by name"

C#
1

unity find layer by name

using UnityEngine;public class Example : MonoBehaviour
{
    void Start()
    {
        Debug.Log(LayerMask.NameToLayer("TransparentFX"));
    }
}
Posted by: Guest on May-31-2021

C# Answers by Framework

Browse Popular Code Answers by Language