VR4RoboticArm3/VR4RoboticArm/Library/PackageCache/com.unity.learn.iet-framework/Editor/Masking/MaskingSettings.cs
IonutMocanu 1d45ac8df0 Main1
2025-09-15 21:53:38 +03:00

27 lines
794 B
C#

using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Serialization;
namespace Unity.Tutorials.Core.Editor
{
[Serializable]
internal class MaskingSettings
{
public bool Enabled { get => m_MaskingEnabled; set => m_MaskingEnabled = value; }
[SerializeField, FormerlySerializedAs("m_Enabled")]
bool m_MaskingEnabled;
public IEnumerable<UnmaskedView> UnmaskedViews => m_UnmaskedViews;
[SerializeField]
List<UnmaskedView> m_UnmaskedViews = new List<UnmaskedView>();
public void SetUnmaskedViews(IEnumerable<UnmaskedView> unmaskedViews)
{
m_UnmaskedViews.Clear();
if (unmaskedViews != null)
m_UnmaskedViews.AddRange(unmaskedViews);
}
}
}