Exemple #1
0
    // public GameObject TimerBarSat;
    // TimeBarSat TimerBarSat_Script;

    void Start()
    {
        SatMove_Script      = SatBot.GetComponent <SatMove>();
        Bubble_Script       = ActionDownload.GetComponent <DownloadBubbleScript>();
        Light_Script        = ActionLight.GetComponent <DownloadBubbleScript>();
        Circle_Script       = ActionCircles.GetComponent <DownloadBubbleScript>();
        Act1Button_Script   = Activate1.GetComponent <Act1Script>();
        CancelButton_Script = Cancel.GetComponent <CancelButton>();
        redDanger           = new Color(1f, 0.1f, 0.0f, 1.0f);
        greenConsole        = new Color(0.0f, 1.0f, 0.1144f, 1.0f);
    }
Exemple #2
0
 void Start()
 {
     LuzMove_Script      = IdleLuz.GetComponent <LuzMove>();
     Bubble_Script       = ActionPower.GetComponent <ActionPowerScript>();
     Light_Script        = ActionLight.GetComponent <ActionPowerScript>();
     Circle_Script       = ActionCircles.GetComponent <ActionPowerScript>();
     Act1Button_Script   = Activate1.GetComponent <Act1Script>();
     CancelButton_Script = Cancel.GetComponent <CancelButton>();
     redDanger           = new Color(1f, 0.1f, 0.0f, 1.0f);
     greenConsole        = new Color(0.0f, 1.0f, 0.1144f, 1.0f);
 }
 void Start()
 {
     GearMove_Script     = Gears.GetComponent <GearMove>();
     connectPos          = new Vector3(-0.01f, 0.005f, -0.003f);
     Bubble_Script       = ActionBubbles.GetComponent <BubbleScript>();
     Light_Script        = ActionLight.GetComponent <BubbleScript>();
     Circle_Script       = ActionCircles.GetComponent <BubbleScript>();
     Act1Button_Script   = Activate1.GetComponent <Act1Script>();
     CancelButton_Script = Cancel.GetComponent <CancelButton>();
     redDanger           = new Color(1f, 0.1f, 0.0f, 1.0f);
     greenConsole        = new Color(0.0f, 1.0f, 0.1144f, 1.0f);
 }
 // 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>();
 }