BB.TypeHelper.ToIndex C# (CSharp) Method

ToIndex() public static method

public static ToIndex ( this thiz ) : int
thiz this
return int
        public static int ToIndex(this WorldType thiz)
        {
            return (int)thiz - 1;
        }