Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created November 2, 2020 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todorok1/3d905173e9e741111398c0122eb9d275 to your computer and use it in GitHub Desktop.
Save todorok1/3d905173e9e741111398c0122eb9d275 to your computer and use it in GitHub Desktop.
異なる型のリストを作成する
// int型の値でリストを作成します。
List<int> intList = new List<int>();
// float型の値でリストを作成します。
List<float> floatList = new List<float>();
// GameOjectへの参照でリストを作成します。
List<GameObject> objList = new List<GameObject>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment