예제 #1
0
 public CutsceneScriptLine(
     CutsceneAction action,
     CutsceneBackground background  = CutsceneBackground.None,
     CutsceneSide side              = CutsceneSide.Left,
     CutsceneCharacter character    = null,
     CharacterExpression expression = CharacterExpression.Default,
     string dialogue = "")
 {
     this.action     = action;
     this.background = background;
     this.side       = side;
     this.character  = character;
     this.expression = expression;
     this.dialogue   = dialogue;
 }
예제 #2
0
 public void setBackground(CutsceneBackground background)
 {
     currentBackground.sprite = backgrounds[(int)(background)];
 }