CursorManager.getTexture C# (CSharp) Method

getTexture() private method

private getTexture ( CursorType, type ) : Texture2D
type CursorType,
return UnityEngine.Texture2D
    internal Texture2D getTexture(CursorType type)
    {
        switch (type)
        {
            case CursorType.Walk:
                return Walk;

            case CursorType.Door:
                return Door;

            case CursorType.GoToLocationN:
                return GoToLocationN;

            case CursorType.GoToLocationE:
                return GoToLocationE;

            case CursorType.GoToLocationS:
                return GoToLocationS;

            case CursorType.GoToLocationW:
                return GoToLocationW;

            case CursorType.Speak:
                return Speak;

            case CursorType.Explore:
                return Explore;

            case CursorType.PickUp:
                return PickUp;
            case CursorType.Use:
                return Use;
            case CursorType.None:
                return null;

            default:
                return Main;
        }
    }