Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

Do You Like C# Value Types? Here's How to Apply C# 7.0 Ref Locals & Returns

$
0
0

In this article, I'll show you how to apply Unity C# 7.0: ref locals & returns to simplify your game code and make your programming intentions clear when dealing with C# value types.

Quick Navigation

1. What a Bloody Mess!

2. Solving the Mess With Ref Locals & Functions

3. Do C# Local References Make a Performance Difference?

What's Next?

1. What a Bloody Mess!

Let's say you're developing a MMO (somehow a favorite for new game developers) and you're currently programming a cheat to level up your character.

You know, faster development iterations …


Viewing all articles
Browse latest Browse all 16874

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>