// // /*=============================================================================== // // Copyright (C) 2023 PhantomsXR Ltd. All Rights Reserved. // // // // This file is part of the com.Phantoms.ActionNotification.Runtime. // // // // The XRMOD-SDK cannot be copied, distributed, or made available to // // third-parties for commercial purposes without written permission of PhantomsXR Ltd. // // // // Contact nswell@phantomsxr.com for licensing requests. // // ===============================================================================*/ using System; using System.Collections.Generic; using UnityEngine; namespace Phantom.XRMOD.ActionNotification.Runtime { public class DynamicLibraryArgs : BaseNotificationData { public List Images; [Serializable] public class ImageData { [SerializeField, Tooltip("The source texture for the image. Must be marked as readable.")] Texture2D m_Texture; public Texture2D texture { get => m_Texture; set => m_Texture = value; } [SerializeField, Tooltip("The name for this image.")] string m_Name; public string name { get => m_Name; set => m_Name = value; } [SerializeField, Tooltip("The width, in meters, of the image in the real world.")] float m_Width; public float width { get => m_Width; set => m_Width = value; } } } }