Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        if (GlobalState.Repeated)
        {
            GlobalState.MariaFS     = mariaFS;
            GlobalState.AnaFS       = anaFS;
            GlobalState.JoseFS      = joseFS;
            GlobalState.AlisonFS    = alisonFS;
            GlobalState.AlejandroFS = alejandroFS;
            GlobalState.GuillermoFS = guillermoFS;
            GlobalState.ParentsFS   = parentFS;

            GlobalState.GumQuest = 0;
        }
        else
        {
            mariaFS     = GlobalState.MariaFS;
            anaFS       = GlobalState.AnaFS;
            joseFS      = GlobalState.JoseFS;
            alisonFS    = GlobalState.AlisonFS;
            alejandroFS = GlobalState.AlejandroFS;
            guillermoFS = GlobalState.GuillermoFS;
            parentFS    = GlobalState.ParentsFS;
        }

        base.mobile = InitMobileGUI.InitMobileGUIObject();
    }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     if (GlobalState.NowIsLaterThan(8, 30))
     {
         bellSounded = true;
     }
     base.mobile = InitMobileGUI.InitMobileGUIObject();
 }
Esempio n. 3
0
 // Use this for initialization
 void Start()
 {
     if (GlobalState.SharedPassQuest == 0)
     {
         base.mobile = InitMobileGUI.InitMobileGUIObject(false);
     }
     else
     {
         base.mobile = InitMobileGUI.InitMobileGUIObject(true);
     }
 }
Esempio n. 4
0
 // Use this for initialization
 void Start()
 {
     if (GlobalState.SharedPassQuest != 1)
     {
         base.mobile = InitMobileGUI.InitMobileGUIObject(false);
     }
     else
     {
         base.mobile = InitMobileGUI.InitMobileGUIObject(true);
         CameraScroll cam = sceneCamera.GetComponent <CameraScroll>();
         cam.scroll_min = minScroll;
         cam.scroll_max = maxScroll;
         sceneCamera.transform.localPosition = new Vector3(x, y, sceneCamera.transform.localPosition.z);
     }
 }
Esempio n. 5
0
 // Use this for initialization
 void Start()
 {
     if (GlobalState.NowIsLaterThan(8, 30))
     {
         bellSounded = true;
     }
     if (GlobalState.SharedPassQuest == 0)
     {
         base.mobile = InitMobileGUI.InitMobileGUIObject(false);
     }
     else
     {
         base.mobile = InitMobileGUI.InitMobileGUIObject(true);
     }
 }
Esempio n. 6
0
    // Use this for initialization
    void Start()
    {
        sits  = GetComponentsInChildren <SitWithGum>(true);
        spawn = GetComponent <Collider2D>();

        xShadow = shadow.transform.localPosition.x;

        if (GlobalState.Repeated || GlobalState.NotRepeatedDays)
        {
            showPortal           = false;
            GlobalState.Repeated = false;
        }
        else
        {
            showPortal = true;
        }
        InitMobileGUI.InitMobileGUIObject(false);
    }
Esempio n. 7
0
    // Use this for initialization
    void Start()
    {
        GlobalState.UserName = "******";
        GlobalState.MaleSex  = true;

        if (GlobalState.NowIsLaterThan(8, 0))
        {
            state.BellSounded = true;
        }
        InitMobileGUI.InitMobileGUIObject();

        GlobalState.AlejandroFS = 50;
        GlobalState.GuillermoFS = 50;
        GlobalState.JoseFS      = 50;
        GlobalState.AnaFS       = 50;
        GlobalState.AlisonFS    = 50;
        GlobalState.MariaFS     = 50;
        GlobalState.TeacherFS   = 50;
        GlobalState.ParentsFS   = 50;
    }
Esempio n. 8
0
    // Use this for initialization
    void Start()
    {
        dupCount           = 0;
        remainingDreamTime = totalDreamTime;
        //initDeleteButton();

        xShadow = shadow.transform.localPosition.x;
        size    = this.GetComponent <Collider2D>().bounds.size;

        if (GlobalState.Repeated || GlobalState.NotRepeatedDays)
        {
            showPortal           = false;
            GlobalState.Repeated = false;
        }
        else
        {
            showPortal = true;
        }
        InitMobileGUI.InitMobileGUIObject(false);
    }
Esempio n. 9
0
    // Use this for initialization
    void Start()
    {
        g = GlobalState.Instance;
        cameraScroll.disableScroll(true);
        state = 0;
        if (!GlobalState.NowIsLaterThan(8, 0))
        {
            if (GlobalState.Day == 0)
            {
                introText.SetActive(true);
                offset = introTime;
            }
            GlobalState.Hour   = 7;
            GlobalState.Minute = 30;
        }
        else
        {
            introText.SetActive(false);
        }
        mobileObject.updateHour();
        initQuests();

        InitMobileGUI.InitMobileGUIObject(false);
    }
Esempio n. 10
0
 // Use this for initialization
 void Start()
 {
     InitMobileGUI.InitMobileGUIObject(false);
 }
Esempio n. 11
0
 // Use this for initialization
 void Start()
 {
     talks = GetComponent <Nightmare3State>();
     InitMobileGUI.InitMobileGUIObject(false);
 }
Esempio n. 12
0
 // Use this for initialization
 void Start()
 {
     mobile = InitMobileGUI.InitMobileGUIObject();
 }