Search Issue Tracker
Fixed
Votes
0
Found in
4.2.0f4
Issue ID
561684
Regression
No
Documentation C# example is not correct for AudioSource.SetScheduledEndTime
The example code at http://docs.unity3d.com/Documentation/ScriptReference/AudioSource.SetScheduledEndTime.html
does not compile. It is probably missing a type cast at some point. Anyway, the example does not work.
"Cannot implicitly convert type 'float' to 'int'. An explicit conversion exists (are you missing a cast?)"
2) How can we reproduce it using the example you attached
Just see the example code
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment