FluffyManager.Utilities_Livestock._shearable C# (CSharp) 메소드

_shearable() 개인적인 정적인 메소드

private static _shearable ( this pawn ) : bool
pawn this
리턴 bool
        private static bool _shearable( this Pawn pawn )
        {
            var comp = pawn?.TryGetComp<CompShearable>();
            object active = false;
            if ( comp != null )
            {
                active = comp.GetPrivatePropertyValue( "Active" );
            }
            return (bool) active;
        }