Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

Search the Community

Showing results for tags 'yield'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GENERAL
    • Introduce yourself
    • Discussions
    • Showcase
    • Need help?
    • Seeking team members?
    • Offtopic
  • RESOURCES
    • Example Projects
    • Scripts
    • Shaders
    • Unity Tutorials
    • FPS Kit Tutorials
    • 3D models
    • Animated 3D Models
    • Graphic design
    • Textures
    • Sounds
    • Other
  • SELL | REQUEST
    • Sell
    • Request
  • Mars' Modular Multiplayer Photon FPS Kit's Topics
  • Mars' Modular Multiplayer Photon FPS Kit's Reviews
  • Mars' Modular Multiplayer Photon FPS Kit's Updates
  • Mars' Modular Multiplayer Photon FPS Kit's Tutorials
  • Busy People's Introductions
  • Photon's Tutorials
  • Photon's Photon General
  • Photon's Showcase

Categories

  • Free Projects
  • Free Assets
  • Game Demos
  • Photon's Files

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


YouTube URL


Facebook URL


Twitter URL


IndieGoGo URL


Kickstarter URL


IndieDB URL


GreenLight URL


Location:


Interests

Found 2 results

  1. Hey guys, it's me again. So, I'm currently in Spain and enjoying vacation. But there is one thing you can enjoy more, programming while having a vacation! So what I did is that I brought my laptop to Spain and installed unity and transfered my game. Now, when I'm about to script and intro (or anything to do with Yield), well... It will not run the code. Example, I write yield WaitForSeconds (3); and then write another line of code, it doesn't simple continue... I've tried opening and creating another project but no darn luck help please? Thanks, your fellow friend, Joseph!
  2. Hey, i have a problem with Yield in my "Page collection" script (like slender) in JavaScript. When you click if you're into a trigger, the page disappear and put for ex. "1/6" in the Guitext and, with the yield the guitext.text = "" The problem is: Yield doesn't work #pragma strict var GuiText : GUIText; var Page: GameObject; var TriggerZone : GameObject; var Activate : boolean = true; function Start () { } function Update () { } function OnTriggerStay () { if(Input.GetKeyDown(KeyCode.Mouse0) && Activate == true) { var script : PageCount = GetComponent(PageCount); script.x += 1; GuiText.text = script.x.ToString() + "/8"; Destroy(Page); yield WaitForSeconds (3); GuiText.text = ""; Activate = false; } } 2nd script (PageCount) : #pragma strict static var x : int; function Start () { } function Update () { }
×
×
  • Create New...