// public Vector3 newPos; // Start is called before the first frame update void Start() { GearMove_Script = Gears.GetComponent <GearMove>(); LuzMove_Script = Luz.GetComponent <LuzMove>(); BruteMove_Script = Brute.GetComponent <BruteMove>(); PumpMove_Script = Pump.GetComponent <PumpMove>(); SatMove_Script = Sat.GetComponent <SatMove>(); }
public void getMoveScripts() { gearMove_script = Gears.GetComponent <GearMove>(); luzMove_script = Luz.GetComponent <LuzMove>(); bruteMove_script = Brute.GetComponent <BruteMove>(); pumpMove_script = Pump.GetComponent <PumpMove>(); satMove_script = Sat.GetComponent <SatMove>(); }
// 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>(); }