static void Particle_randomSeed(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.Particle _this = (UnityEngine.ParticleSystem.Particle)vc.csObj;
         var result = _this.randomSeed;
         JSApi.setUInt32((int)JSApi.SetType.Rval, (System.UInt32)(result));
     }
     else
     {
         System.UInt32 arg0 = (System.UInt32)JSApi.getUInt32((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.Particle _this = (UnityEngine.ParticleSystem.Particle)vc.csObj;
         _this.randomSeed = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void CollisionModule_radiusScale(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         var result = _this.radiusScale;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single arg0 = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         _this.radiusScale = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void CollisionModule_mode(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         var result = _this.mode;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         UnityEngine.ParticleSystemCollisionMode    arg0  = (UnityEngine.ParticleSystemCollisionMode)JSApi.getEnum((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         _this.mode = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void RenderTargetSetup_cubemapFace(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.RenderTargetSetup _this = (UnityEngine.RenderTargetSetup)vc.csObj;
         var result = _this.cubemapFace;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         UnityEngine.CubemapFace       arg0  = (UnityEngine.CubemapFace)JSApi.getEnum((int)JSApi.GetType.Arg);
         UnityEngine.RenderTargetSetup _this = (UnityEngine.RenderTargetSetup)vc.csObj;
         _this.cubemapFace = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void CollisionModule_collidesWith(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         var result = _this.collidesWith;
         JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.LayerMask arg0 = (UnityEngine.LayerMask)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         _this.collidesWith = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 6
0
 static void Keyframe_tangentMode(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.Keyframe _this = (UnityEngine.Keyframe)vc.csObj;
         var result = _this.tangentMode;
         JSApi.setInt32((int)JSApi.SetType.Rval, (System.Int32)(result));
     }
     else
     {
         System.Int32         arg0  = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
         UnityEngine.Keyframe _this = (UnityEngine.Keyframe)vc.csObj;
         _this.tangentMode = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void RenderTargetSetup_depth(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.RenderTargetSetup _this = (UnityEngine.RenderTargetSetup)vc.csObj;
         var result = _this.depth;
         JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.RenderBuffer      arg0  = (UnityEngine.RenderBuffer)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
         UnityEngine.RenderTargetSetup _this = (UnityEngine.RenderTargetSetup)vc.csObj;
         _this.depth = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
// properties
    static void CharacterInfo_advance(JSVCall vc)
    {
        if (vc.bGet)
        {
            UnityEngine.CharacterInfo _this = (UnityEngine.CharacterInfo)vc.csObj;
            var result = _this.advance;
            JSApi.setInt32((int)JSApi.SetType.Rval, (System.Int32)(result));
        }
        else
        {
            System.Int32 arg0 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
            UnityEngine.CharacterInfo _this = (UnityEngine.CharacterInfo)vc.csObj;
            _this.advance = arg0;
            JSMgr.changeJSObj(vc.jsObjID, _this);
        }
    }
Exemplo n.º 9
0
 static void JointMotor2D_maxMotorTorque(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.JointMotor2D _this = (UnityEngine.JointMotor2D)vc.csObj;
         var result = _this.maxMotorTorque;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single            arg0  = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.JointMotor2D _this = (UnityEngine.JointMotor2D)vc.csObj;
         _this.maxMotorTorque = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void CharacterInfo_uvTopLeft(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.CharacterInfo _this = (UnityEngine.CharacterInfo)vc.csObj;
         var result = _this.uvTopLeft;
         JSApi.setVector2S((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.Vector2       arg0  = (UnityEngine.Vector2)JSApi.getVector2S((int)JSApi.GetType.Arg);
         UnityEngine.CharacterInfo _this = (UnityEngine.CharacterInfo)vc.csObj;
         _this.uvTopLeft = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void CharacterInfo_style(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.CharacterInfo _this = (UnityEngine.CharacterInfo)vc.csObj;
         var result = _this.style;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         UnityEngine.FontStyle     arg0  = (UnityEngine.FontStyle)JSApi.getEnum((int)JSApi.GetType.Arg);
         UnityEngine.CharacterInfo _this = (UnityEngine.CharacterInfo)vc.csObj;
         _this.style = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void LOD_fadeTransitionWidth(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.LOD _this  = (UnityEngine.LOD)vc.csObj;
         var             result = _this.fadeTransitionWidth;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single   arg0  = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.LOD _this = (UnityEngine.LOD)vc.csObj;
         _this.fadeTransitionWidth = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void Particle_startLifetime(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.Particle _this = (UnityEngine.ParticleSystem.Particle)vc.csObj;
         var result = _this.startLifetime;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single arg0 = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.Particle _this = (UnityEngine.ParticleSystem.Particle)vc.csObj;
         _this.startLifetime = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void Particle_velocity(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.Particle _this = (UnityEngine.ParticleSystem.Particle)vc.csObj;
         var result = _this.velocity;
         JSApi.setVector3S((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.Vector3 arg0 = (UnityEngine.Vector3)JSApi.getVector3S((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.Particle _this = (UnityEngine.ParticleSystem.Particle)vc.csObj;
         _this.velocity = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void JointSpring_targetPosition(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.JointSpring _this = (UnityEngine.JointSpring)vc.csObj;
         var result = _this.targetPosition;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single           arg0  = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.JointSpring _this = (UnityEngine.JointSpring)vc.csObj;
         _this.targetPosition = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 16
0
 static void CombineInstance_subMeshIndex(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.CombineInstance _this = (UnityEngine.CombineInstance)vc.csObj;
         var result = _this.subMeshIndex;
         JSApi.setInt32((int)JSApi.SetType.Rval, (System.Int32)(result));
     }
     else
     {
         System.Int32 arg0 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
         UnityEngine.CombineInstance _this = (UnityEngine.CombineInstance)vc.csObj;
         _this.subMeshIndex = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 17
0
 static void Vector3_x(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.Vector3 _this = (UnityEngine.Vector3)vc.csObj;
         var result = _this.x;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single       arg0  = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.Vector3 _this = (UnityEngine.Vector3)vc.csObj;
         _this.x = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 18
0
 static void CombineInstance_transform(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.CombineInstance _this = (UnityEngine.CombineInstance)vc.csObj;
         var result = _this.transform;
         JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.Matrix4x4       arg0  = (UnityEngine.Matrix4x4)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
         UnityEngine.CombineInstance _this = (UnityEngine.CombineInstance)vc.csObj;
         _this.transform = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 19
0
 static void Keyframe_value(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.Keyframe _this = (UnityEngine.Keyframe)vc.csObj;
         var result = _this.value;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single        arg0  = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.Keyframe _this = (UnityEngine.Keyframe)vc.csObj;
         _this.value = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 20
0
 static void ColorBySpeedModule_color(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.ColorBySpeedModule _this = (UnityEngine.ParticleSystem.ColorBySpeedModule)vc.csObj;
         var result = _this.color;
         JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.ParticleSystem.MinMaxGradient     arg0  = (UnityEngine.ParticleSystem.MinMaxGradient)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.ColorBySpeedModule _this = (UnityEngine.ParticleSystem.ColorBySpeedModule)vc.csObj;
         _this.color = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void RenderTargetSetup_mipLevel(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.RenderTargetSetup _this = (UnityEngine.RenderTargetSetup)vc.csObj;
         var result = _this.mipLevel;
         JSApi.setInt32((int)JSApi.SetType.Rval, (System.Int32)(result));
     }
     else
     {
         System.Int32 arg0 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
         UnityEngine.RenderTargetSetup _this = (UnityEngine.RenderTargetSetup)vc.csObj;
         _this.mipLevel = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 22
0
 static void ColorBySpeedModule_range(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.ColorBySpeedModule _this = (UnityEngine.ParticleSystem.ColorBySpeedModule)vc.csObj;
         var result = _this.range;
         JSApi.setVector2S((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.Vector2 arg0 = (UnityEngine.Vector2)JSApi.getVector2S((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.ColorBySpeedModule _this = (UnityEngine.ParticleSystem.ColorBySpeedModule)vc.csObj;
         _this.range = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void RenderTargetSetup_depthStore(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.RenderTargetSetup _this = (UnityEngine.RenderTargetSetup)vc.csObj;
         var result = _this.depthStore;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         UnityEngine.Rendering.RenderBufferStoreAction arg0 = (UnityEngine.Rendering.RenderBufferStoreAction)JSApi.getEnum((int)JSApi.GetType.Arg);
         UnityEngine.RenderTargetSetup _this = (UnityEngine.RenderTargetSetup)vc.csObj;
         _this.depthStore = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 24
0
////////////////////// VelocityOverLifetimeModule ///////////////////////////////////////
// constructors

// fields

// properties
    static void VelocityOverLifetimeModule_enabled(JSVCall vc)
    {
        if (vc.bGet)
        {
            UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
            var result = _this.enabled;
            JSApi.setBooleanS((int)JSApi.SetType.Rval, (System.Boolean)(result));
        }
        else
        {
            System.Boolean arg0 = (System.Boolean)JSApi.getBooleanS((int)JSApi.GetType.Arg);
            UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
            _this.enabled = arg0;
            JSMgr.changeJSObj(vc.jsObjID, _this);
        }
    }
 static void CollisionModule_maxCollisionShapes(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         var result = _this.maxCollisionShapes;
         JSApi.setInt32((int)JSApi.SetType.Rval, (System.Int32)(result));
     }
     else
     {
         System.Int32 arg0 = (System.Int32)JSApi.getInt32((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         _this.maxCollisionShapes = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 26
0
 static void VelocityOverLifetimeModule_z(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
         var result = _this.z;
         JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.ParticleSystem.MinMaxCurve arg0 = (UnityEngine.ParticleSystem.MinMaxCurve)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
         _this.z = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void CollisionModule_sendCollisionMessages(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         var result = _this.sendCollisionMessages;
         JSApi.setBooleanS((int)JSApi.SetType.Rval, (System.Boolean)(result));
     }
     else
     {
         System.Boolean arg0 = (System.Boolean)JSApi.getBooleanS((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         _this.sendCollisionMessages = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 28
0
 static void VelocityOverLifetimeModule_space(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
         var result = _this.space;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         UnityEngine.ParticleSystemSimulationSpace             arg0  = (UnityEngine.ParticleSystemSimulationSpace)JSApi.getEnum((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
         _this.space = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void CollisionModule_dampen(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         var result = _this.dampen;
         JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.ParticleSystem.MinMaxCurve     arg0  = (UnityEngine.ParticleSystem.MinMaxCurve)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.CollisionModule _this = (UnityEngine.ParticleSystem.CollisionModule)vc.csObj;
         _this.dampen = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
 static void Particle_startColor(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.Particle _this = (UnityEngine.ParticleSystem.Particle)vc.csObj;
         var result = _this.startColor;
         JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.Color32 arg0 = (UnityEngine.Color32)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.Particle _this = (UnityEngine.ParticleSystem.Particle)vc.csObj;
         _this.startColor = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }