public void SwitchToDemoMode() { flipbookState = FlipbookState.DEMO; warningText.SetActive(false); StartCoroutine(PlayMovie()); IncrementDemoIndex(0); }
public void SwitchToDrawMode() { playing = false; cyclingDemos = false; //for saving var savedPath = GetSavedPath(); string[] fileList = Directory.GetDirectories(savedPath); currentFlipbookFileNumber = fileList.Length; flipbookState = FlipbookState.DRAWING; }