StretchyTanks.CompatibilityChecker.IsCompatible C# (CSharp) Method

IsCompatible() public static method

public static IsCompatible ( ) : bool
return bool
        public static bool IsCompatible()
        {
            /*-----------------------------------------------*\
            | BEGIN IMPLEMENTATION-SPECIFIC EDITS HERE. |
            \*-----------------------------------------------*/

            // TODO: Implement your own compatibility check.
            //
            // If you want to disable some behavior when incompatible, other parts of the plugin
            // should query this method:
            //
            // if (!CompatibilityChecker.IsCompatible()) {
            // ...disable some features...
            // }
            //
            // Even if you don't lock down functionality, you should return true if your users
            // can expect a future update to be available.
            //

            if (Versioning.version_minor != 23)
            {
                return false;
            }
            return true;

            /*-----------------------------------------------*\
            | IMPLEMENTERS SHOULD NOT EDIT BEYOND THIS POINT! |
            \*-----------------------------------------------*/
        }