public TutorialGUI(PlayerCounter playerCounter, bool isEnabled) { viroidTipGui = new SimpleTextGUI ("Stop red viroids from spreading!"); this.isEnabled = isEnabled; tutorialPhase = TutorialPhases.wasd; this.playerCounter = playerCounter; setTutorialGraphics (); }
public GameHUD(PlayerCounter playerCounter,bool useTutorial) { sandboxText=new SimpleTextGUI("Press and hold \"G\" for sandbox options."); normalStyle = MenuTemplate.getLabelStyle (30, TextAnchor.MiddleCenter, Color.white); isFadingToBlack = false; fadeTimeMax = 5; fadeTexture = Resources.Load ("Textures/FadeToBlack") as Texture; tutorialGUI=new TutorialGUI(playerCounter,useTutorial); }