GoTween.isValid C# (CSharp) Method

isValid() public method

we are valid if we have a target and at least one TweenProperty
public isValid ( ) : bool
return bool
    public override bool isValid()
    {
        return target != null;
    }

Usage Example

Esempio n. 1
0
 static public int isValid(IntPtr l)
 {
     try {
         GoTween self = (GoTween)checkSelf(l);
         var     ret  = self.isValid();
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }