Create a gist now

Instantly share code, notes, and snippets.

Compositeパターン アイテムを表すクラス
using UnityEngine;
public class GameItemFile : Entry
{
// コンストラクタ
public GameItemFile(string name)
{
this.name = name;
}
public override void PrintListLog(string prefix)
{
Debug.Log(prefix + "/" + this);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment