示例#1
0
 static int SetColor(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         GizmoPlane        obj  = (GizmoPlane)ToLua.CheckObject(L, 1, typeof(GizmoPlane));
         UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
         obj.SetColor(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#2
0
 public void SetColor(Color color)
 {
     _GizimoPlane.SetColor(color);
 }