예제 #1
0
 static void AudioSource_rolloffMode(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.AudioSource _this = (UnityEngine.AudioSource)vc.csObj;
         var result = _this.rolloffMode;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         UnityEngine.AudioRolloffMode arg0  = (UnityEngine.AudioRolloffMode)JSApi.getEnum((int)JSApi.GetType.Arg);
         UnityEngine.AudioSource      _this = (UnityEngine.AudioSource)vc.csObj;
         _this.rolloffMode = arg0;
     }
 }
 static public void FastSetter(this UnityEngine.AudioSource o, string propertyName, UnityEngine.AudioRolloffMode value)
 {
     switch (propertyName)
     {
     case "rolloffMode":
         o.rolloffMode = value; return;
     }
     LBoot.LogUtil.Error("UnityEngine.AudioSource no Setter Found : " + propertyName);
 }