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 'optimization'.



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
    • unity3D | Example Projects
    • unity3D | Scripts
    • unity3D | Shaders
    • unity3D | Tutorials
    • 3D models
    • Animated 3D Models
    • Graphic design
    • Textures
    • Sounds
    • Other
  • FREE FPS PROJECT
    • FPSKit Download
    • FPSKit Modifications/Tutorials
    • FPSKit WIP/Showcase
    • Discussions / Bug reports
  • SELL | REQUEST
    • Sell
    • Request
  • Busy People's Introductions
  • Mars' Modular Multiplayer Photon FPS Kit's Topics
  • Mars' Modular Multiplayer Photon FPS Kit's Reviews
  • Photon's Photon General
  • Photon's Showcase
  • Mars' Modular Multiplayer Photon FPS Kit's Updates

Categories

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

Calendars

  • Community Calendar

Facebook URL


Twitter URL


IndieGoGo URL


Kickstarter URL


IndieDB URL


GreenLight URL


Location:


Interests

Found 3 results

  1. Optimization

    Unity Coder Unity Optimization Tips (multiple links) Intel Developer Zone How To Plan Optimizations with Unity* Unity Docs Optimizing Graphics Performance Optimizing Physics Performance Performance Optimization Code Project Unity and C# : Performance Optimization tips Paladin Studios 4 Ways To Increase Performance of your Unity Game Techgalaxy 5 Basic Ways to Improve Performance in C# Jacksondunstan GetComponent by type versus string test & benchmarks Databases MYSQL 10 Tips for Optimizing MySQL Queries Other Java Performance comparison of different ways to iterate over HashMap I'd you'd like to add content, please, notify me first.
  2. Optimization questions

    I am finishing up what I would consider the core gameplay elements of a game I've been working on, and am debating making another pass through the code to optimize before it becomes too daunting. On that note I a/some questions about unity and optimization. 1. Calling public variables from other scripts: for example my crosshair script calls for a weaponsaccuracy variable from my weaponinfo script to control the spread of the crosshairs. this is done in the update() function so it's happening all the time. My question is how much of a performance difference there is between calling a public variable cross-script over using a local variable. I had debated putting a conditional statement in update() and only calling in the weaponaccuracy on weapon change, converting it to a local variable for use on every Update() call, but this would only be worthwhile if there is a significant performance different between local variable usage and public cross-script variable usage. *** I realize that small scale this will not make a difference, this is both for my own education / best practices and in consideration of possible futures for this project being a multiplayer 3rd person shooter where there would be much more going. I'm at work again right now, but after I get back and have a chance to look over some more code I'm sure I'll have a couple other little questions about optimization, Thanks ahead of time for any input.
  3. I'm having a problem when I die in my game where my framerate drops from 60+ frames per second down to about 6 to 8 frames per second. When the player's health drops to 0, I activate a ragdoll with a camera attached to the head, I know this isn't the problem as I've been using this method in the game for months. The performance profiler says it's overhead and I don't really understand what that means, does anybody know what's happening? I've included some images of the functions that are called when the player dies and the profiler Image of the performance profiler:
×