示例#1
0
 public QuestionResource(QuestionResourcePath path)
 {
     this.PngDirectoryPath = path;
     this.Answer           = new Answer(path);
     this.Sprite           = new CustomSprite(path);
     this.AnswerFullName   = new AnswerFullName(path);
 }
示例#2
0
 public Answer(QuestionResourcePath resourcePath)
 {
     Value = resourcePath.AnswerName;
 }
示例#3
0
 public CustomSprite(QuestionResourcePath pngDirectoryPath)
 {
     this.ToSprite = ResourceAccesser.PngConvertToSprite.Convert(pngDirectoryPath.SpritePath);
 }