// Start is called before the first frame update
 void Start()
 {
     PumpMove_Script      = Pump.GetComponent <PumpMove>();
     Bubble_Script        = ActionPump.GetComponent <ActionPump>();
     Bubble_Script2       = ActionPump2.GetComponent <ActionPump2>();
     Light_Script         = ActionLight.GetComponent <ActionPump>();
     Circle_Script        = ActionCircles.GetComponent <ActionPump>();
     Act1Button_Script    = Activate1Pump.GetComponent <Act1Script>();
     Act2Button_Script    = Activate2.GetComponent <Act1Script>();
     Act3Button_Script    = Activate3.GetComponent <Act1Script>();
     CancelButton_Script  = Cancel.GetComponent <CancelButton>();
     CancelButton2_Script = Cancel2.GetComponent <CancelButton>();
     BlueWall_Script      = BlueWall.GetComponent <BlueWall>();
     anim = GetComponent <Animator>();
 }
Пример #2
0
        public AppViewModel()
        {
            _actionPump = new ActionPump();

            MessageBoxManager.HasMessageBoxChanged += new EventHandler(MessageBoxManager_HasMessageBoxChanged);
        }