コード例 #1
0
 static public void FastSetter(this UnityEngine.Camera o, string propertyName, UnityEngine.RenderingPath value)
 {
     switch (propertyName)
     {
     case "renderingPath":
         o.renderingPath = value; return;
     }
     LBoot.LogUtil.Error("UnityEngine.Camera no Setter Found : " + propertyName);
 }
コード例 #2
0
 static void Camera_renderingPath(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.Camera _this = (UnityEngine.Camera)vc.csObj;
         var result = _this.renderingPath;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         UnityEngine.RenderingPath arg0  = (UnityEngine.RenderingPath)JSApi.getEnum((int)JSApi.GetType.Arg);
         UnityEngine.Camera        _this = (UnityEngine.Camera)vc.csObj;
         _this.renderingPath = arg0;
     }
 }