Scripts/Misc/ResourceInfo.cs
/// <summary>
/// Returns the first <see cref="CraftResource"/> in the series of resources for which '<paramref name="resource"/>' belongs.
/// </summary>
Returns the first  in the series of resources for which '' belongs.
Returns the first in the series of resources for which ' ' belongs .
public static CraftResource GetStart(CraftResource resource)
        {
            switch (GetType(resource))
            {
                case CraftResourceType.Metal: return CraftResource.MIron;
                case CraftResourceType.Leather: return CraftResource.RegularLeather;
                case CraftResourceType.Scales: return CraftResource.RedScales;
                case CraftResourceType.Wood: return CraftResource.RegularWood;
            }
            return CraftResource.None;
        }
public static CraftResource GetStart ( CraftResource resource ) { switch ( GetType ( resource ) ) { case CraftResourceType . Metal : return CraftResource . MIron ; case CraftResourceType . Leather : return CraftResource . RegularLeather ; case CraftResourceType . Scales : return CraftResource . RedScales ; case CraftResourceType . Wood : return CraftResource . RegularWood ; } return CraftResource . None ; }
Returns the first  in the series of resources for which '' belongs.
Returns the first in the series of resources for which ' ' belongs .
resource
CraftResource