mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-11 12:15:11 +00:00
24 lines
500 B
C#
24 lines
500 B
C#
|
/// Credit Titinious (https://github.com/Titinious)
|
|||
|
/// Sourced from - https://github.com/Titinious/CurlyUI
|
|||
|
|
|||
|
namespace UnityEngine.UI.Extensions
|
|||
|
{
|
|||
|
[System.Serializable]
|
|||
|
public struct Vector3_Array2D
|
|||
|
{
|
|||
|
[SerializeField]
|
|||
|
public Vector3[] array;
|
|||
|
|
|||
|
public Vector3 this[int _idx]
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return array[_idx];
|
|||
|
}
|
|||
|
set
|
|||
|
{
|
|||
|
array[_idx] = value;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|