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