2025-10-03 00:02:43 -04:00
|
|
|
|
/// Credit Titinious (https://github.com/Titinious)
|
|
|
|
|
|
/// Sourced from - https://github.com/Titinious/CurlyUI
|
|
|
|
|
|
|
2026-03-20 11:56:50 -04:00
|
|
|
|
using System;
|
|
|
|
|
|
|
2025-10-03 00:02:43 -04:00
|
|
|
|
namespace UnityEngine.UI.Extensions
|
|
|
|
|
|
{
|
2026-03-20 11:56:50 -04:00
|
|
|
|
[Serializable]
|
2025-10-03 00:02:43 -04:00
|
|
|
|
public struct Vector3_Array2D
|
|
|
|
|
|
{
|
2026-03-20 11:56:50 -04:00
|
|
|
|
[SerializeField] public Vector3[] array;
|
2025-10-03 00:02:43 -04:00
|
|
|
|
|
|
|
|
|
|
public Vector3 this[int _idx]
|
|
|
|
|
|
{
|
2026-03-20 11:56:50 -04:00
|
|
|
|
get => array[_idx];
|
|
|
|
|
|
set => array[_idx] = value;
|
2025-10-03 00:02:43 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|