FloatTweenProperty.validateTarget C# (CSharp) Méthode

validateTarget() public méthode

validation checks to make sure the target has a valid property with an accessible setter
public validateTarget ( object target ) : bool
target object
Résultat bool
    public override bool validateTarget( object target )
    {
        // cache the setter
        _setter = GoTweenUtils.setterForProperty<Action<float>>( target, propertyName );
        return _setter != null;
    }