Exemple #1
0
    private void Awake()
    {
        Instance = this;

        delaySecondsBeforeStart = TimingController.GetStartDelay();

        if (BoundaryRight != null)
        {
            xMax = BoundaryRight.position.x;
        }
        if (BoundaryLeft != null)
        {
            xMin = BoundaryLeft.position.x;
        }
        if (BoundaryUp != null)
        {
            yMax = BoundaryUp.position.y;
        }
        if (BoundaryDown != null)
        {
            yMin = BoundaryDown.position.y;
        }
    }