void Init() { //glitcher = new GlitcherShooter(settings); if (lvlBeavior == LevelBehaviour.MainMenu) { glitcher = new GlitcherMainMenu(); } else { glitcher = new GlitcherShooter(); } glitcher.Init(settings); glitcherController2D.Subscribe(glitcher.Interact); }
public void AssignGlitchScript(Glitch.Player.GlitcherBehaviorBase glitcher) { player = glitcher; }