Add() public method

Add a RectTransform to be driven.

public Add ( UnityEngine driver, RectTransform rectTransform, DrivenTransformProperties drivenProperties ) : void
driver UnityEngine The object to drive properties.
rectTransform RectTransform The RectTransform to be driven.
drivenProperties DrivenTransformProperties The properties to be driven.
return void
コード例 #1
0
 static public int Add(IntPtr l)
 {
     try{
         UnityEngine.DrivenRectTransformTracker self = (UnityEngine.DrivenRectTransformTracker)checkSelf(l);
         UnityEngine.Object a1;
         checkType(l, 2, out a1);
         UnityEngine.RectTransform a2;
         checkType(l, 3, out a2);
         UnityEngine.DrivenTransformProperties a3;
         checkEnum(l, 4, out a3);
         self.Add(a1, a2, a3);
         setBack(l, self);
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }