kBinaryBitmapImporter.FormatSetup C# (CSharp) Method

FormatSetup() public method

public FormatSetup ( ) : TextureImporterFormat
return TextureImporterFormat
    public TextureImporterFormat FormatSetup()
    {
        TextureImporterFormat t = new TextureImporterFormat();

        if(TextureImporterSetting.formIndex == 0) t = TextureImporterFormat.ARGB32;
        if(TextureImporterSetting.formIndex == 1) t = TextureImporterFormat.RGB24;

        return t;
    }