GUIControl.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
    void Start()
    {
        setSlot(1,1);
        nextSlotPosition++;

        if (allMonkeys == null)
            allMonkeys = new ArrayList();
        if (boxYposition == null)
            boxYposition = new ArrayList();
        if (yDirection == null)
            yDirection = new ArrayList();

        playerScript = GameObject.Find("Player").GetComponent<CPlayer>();
        mainScript = GameObject.Find("Codigo").GetComponent<MainScript>();
        eventosMenu = GameObject.Find("Codigo").GetComponent<EventosMenu>();

        mouseWorld = GameObject.Find("Codigo").GetComponent<MouseWorldPosition>();

        boxYmax = 600;
        boxYmin = 670;

        xDirection = 0;
        allRects = new ArrayList();
    }