Created
September 7, 2016 15:45
-
-
Save Krita3/f8df7a8086a50e2eb5007b28cd10334c to your computer and use it in GitHub Desktop.
Compositeパターン アイテムを表すクラス
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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