-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathReadOnlyArrayValues.cs
More file actions
24 lines (22 loc) · 859 Bytes
/
Copy pathReadOnlyArrayValues.cs
File metadata and controls
24 lines (22 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Collections.Generic;
using UnityEngine;
namespace AnySerialize
{
public class ReadOnlyArrayValues : MonoBehaviour
{
[AnySerialize] public int[] IntArray { get; }
[AnySerialize] public int[][] IntArray2 { get; }
// [AnySerialize] public int[,,] IntArrayRank3 { get; }
[AnySerialize] public List<long>[] LongListArray { get; }
[AnySerialize] public Dictionary<string, int>[] DictionaryArray { get; }
// [AnySerialize] public string[,] StringArrayRank2 { get; }
[AnySerialize] public string[][][] StringArray3 { get; }
[AnySerialize] public IReadOnlyList<string> StringReadOnlyList { get; }
[AnySerialize] public PlainClass[][] PlainClasses2 { get; }
[ContextMenu("log")]
private void Awake()
{
this.JsonLog();
}
}
}