Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Dr.Game says" Flight Magic FX release 12 Free Package Vouchers"

Discussion in 'Assets and Asset Store' started by Dr-Game, Mar 31, 2015.

  1. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159
    Last edited: Mar 31, 2015
  2. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159
  3. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159
    Last edited: Apr 1, 2015
  4. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159
    GOD!! We release 12 free package vouchers for this package.

    ASV-P4QE-HH9T-4D6F-XXXY-KLFL
    ASV-HWKU-AEMH-JDXL-FQQH-YYND
    ASV-QW4W-PA36-ARAK-JVF6-NAVW
    ASV-ELLV-C93P-R6XK-6WA9-RGTF
    ASV-3GGE-XMUK-6YEG-LJGR-DMEV
    ASV-HRNT-6PQN-XEJN-FGHN-R4AG
    ASV-RRQ3-3XN9-7FUU-QPJL-MYXA
    ASV-RK49-R4CP-HE9C-9MTV-RTJM
    ASV-XLCE-4TRD-T4E7-YXP4-7LHQ
    ASV-6GDR-GQY7-TJVH-CP7J-FPHJ
    ASV-47YY-VHWP-TNUV-DGXY-RVC7
    ASV-77JH-E7PQ-QDVD-JU4A-PTCR

    Download a package using a voucher code.
    If a code be used to download at once.its so dead that you need try another code
     
    Last edited: Apr 5, 2015
  5. movra

    movra

    Joined:
    Feb 16, 2013
    Posts:
    566
    The bottom 4 I tried seem to have been taken, but I got a working one: ASV-RK49-R4CP-HE9C-9MTV-RTJM

    Thanks! I'll check it out and give a rating.
     
  6. John-G

    John-G

    Joined:
    Mar 21, 2013
    Posts:
    1,114
    Fifth one up worked for me : ASV-RRQ3-3XN9-7FUU-QPJL-MYXA

    Well rate soon. :)
     
  7. DrewMedina

    DrewMedina

    Joined:
    Apr 1, 2013
    Posts:
    418
    cool! i got it using ASV-HRNT-6PQN-XEJN-FGHN-R4AG\
    thanks!
     
  8. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159
  9. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159
    Thank YOU~ dont forget to rating
     
  10. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,571
    All the codes have been used. :(
     
  11. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159
  12. movra

    movra

    Joined:
    Feb 16, 2013
    Posts:
    566
    For Unity 5 you need to change "animation" to "GetComponent.<Animation>()" in Red_animSpeedRandomizer.js line 6 to enable the automatic upgrade to the Unity 5 API.
     
  13. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159
    Grateful for your inform cinserely~THX~
     
  14. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159
    line 6 is
    animation[animation.clip.name].speed = Random.Range(minSpeed, maxSpeed);
    change to
    GetComponent.<Animation>(animation.clip.name).speed = Random.Range(minSpeed, maxSpeed);

    is it right??
     
  15. movra

    movra

    Joined:
    Feb 16, 2013
    Posts:
    566
    No, the generic version of GetComponent, GetComponent<Type>() does not take an argument. See:

    http://docs.unity3d.com/ScriptReference/GameObject.GetComponent.html

    I'm not entirely sure what the intended functionality of the script is, however we can take a leaf from the Animation documentation:

    http://docs.unity3d.com/ScriptReference/Animation.html

    and we end up with something like this in C#:

    Code (CSharp):
    1.     public class RandomizeAnimationSpeed : MonoBehaviour
    2.     {
    3.         public float minSpeed = 0.7f;
    4.         public float maxSpeed = 1.5f;
    5.  
    6.         private void Start()
    7.         {
    8.             var animation = GetComponent<Animation>();
    9.  
    10.             // Make all animations play at random speed
    11.             foreach (AnimationState state in animation)
    12.             {
    13.                 state.speed = UnityEngine.Random.Range(minSpeed, maxSpeed);
    14.             }
    15.         }
    16.     }
     
  16. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    159

    WELL~THAQ