LoadManager.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
    public void Update()
    {
    }

Usage Example

Example #1
0
    private void Update()
    {
        if (!HasLoaded)
        {
            LoadManager.Update();
            return;
        }

        MapData.Update();
        VisionManager.Update();
        DebugMenu.GlobalUpdate();
        RegionManager.Update();

        #region DEBUG Remove me
        if (Input.GetKey(KeyCode.LeftControl) && Input.GetKeyDown(KeyCode.Mouse0))
        {
            MapData.SetWallTile(Camera.main.ScreenToWorldPoint(Input.mousePosition), WallType.AllTypes[0].ID);
        }
        #endregion
    }