コード例 #1
0
 void Init()
 {
     //glitcher = new GlitcherShooter(settings);
     if (lvlBeavior == LevelBehaviour.MainMenu)
     {
         glitcher = new GlitcherMainMenu();
     }
     else
     {
         glitcher = new GlitcherShooter();
     }
     glitcher.Init(settings);
     glitcherController2D.Subscribe(glitcher.Interact);
 }
コード例 #2
0
 public void AssignGlitchScript(Glitch.Player.GlitcherBehaviorBase glitcher)
 {
     player = glitcher;
 }