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; }
public void setBackground(CutsceneBackground background) { currentBackground.sprite = backgrounds[(int)(background)]; }