Пример #1
0
    void Start()
    {
        // Attach Scripts to holders
        sc_ScriptHelper     = Camera.main.GetComponent<ScriptHelper>();
        sc_BallController   = sc_ScriptHelper.sc_BallController;
        sc_BoundaryManager  = sc_ScriptHelper.sc_BoundaryManager;
        sc_CameraController = sc_ScriptHelper.sc_CameraController;
        sc_GameController   = sc_ScriptHelper.sc_GameController;
        sc_RowManager       = sc_ScriptHelper.sc_RowManager;

        // Set intermission time intertval
        Time_Between_Intermission = 5.0f;

        // Set intermission height
        BallIntermissionHeight = 65;

        // Set speed at which rows move up
        LevelSpeed = 2.0f;
        sc_RowManager.SET_RowSpeed(LevelSpeed);

        StartCoroutine( StartInitermission() );
    }
Пример #2
0
    void Start()
    {
        // Attach Scripts to holders
        sc_ScriptHelper     = Camera.main.GetComponent <ScriptHelper>();
        sc_BallController   = sc_ScriptHelper.sc_BallController;
        sc_BoundaryManager  = sc_ScriptHelper.sc_BoundaryManager;
        sc_CameraController = sc_ScriptHelper.sc_CameraController;
        sc_GameController   = sc_ScriptHelper.sc_GameController;
        sc_RowManager       = sc_ScriptHelper.sc_RowManager;

        // Set intermission time intertval
        Time_Between_Intermission = 5.0f;

        // Set intermission height
        BallIntermissionHeight = 65;

        // Set speed at which rows move up
        LevelSpeed = 2.0f;
        sc_RowManager.SET_RowSpeed(LevelSpeed);

        StartCoroutine(StartInitermission());
    }