static public int OnSetPlayState(IntPtr l) { try { UnityEngine.Experimental.Director.Playable self = (UnityEngine.Experimental.Director.Playable)checkSelf(l); UnityEngine.Experimental.Director.PlayState a1; checkEnum(l, 2, out a1); self.OnSetPlayState(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }