https://github.com/kuritaro1122/mergearray
配列と配列を簡単に結合するメソッド。要素を一つずつ加えることも可能。
https://github.com/kuritaro1122/mergearray
csharp unity unity-scripts
Last synced: about 2 months ago
JSON representation
配列と配列を簡単に結合するメソッド。要素を一つずつ加えることも可能。
- Host: GitHub
- URL: https://github.com/kuritaro1122/mergearray
- Owner: kuritaro1122
- License: unlicense
- Created: 2021-09-10T01:35:53.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-03T00:58:42.000Z (over 4 years ago)
- Last Synced: 2025-02-25T08:37:37.367Z (over 1 year ago)
- Topics: csharp, unity, unity-scripts
- Language: C#
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MergeArray
配列と配列を簡単に結合するメソッド。要素を一つずつ加えることも可能。
# Example
```
int[] a = new int[] {1, 2, 3};
a = MergeArrayClass.MergeArray(a, a); //1, 2, 3, 1, 2, 3
int[] b = new int[] {2, 4, 6};
int[] c = MergeArrayClass.MergeArray(b, 1, 3, 5); // 2, 4, 6, 1, 3, 5
```