HOME   ABOUT   BLOG   ESSAYS   LINKS   GAMES   SERVICES   TUTORIALS 
Third Helix is now Kickbomb Entertainment! Please visit kickbomb.us for all future updates.
Viewing 7 posts tagged "technical"

ADDING TO UNITY'S BUILT-IN CLASSES USING EXTENSION METHODS

30 Sep 2013

Have you ever found yourself wishing a built-in Unity class had some functionality that isn’t there? C# extension methods are the answer!

In this article, I’ll teach you how to use extension methods to add functionality to existing classes, no matter if they’re built-in Unity types, types defined in a third-party plugin, or even types defined in an Asset Store package which you could edit but you’re (rightly) worried about later package updates stomping your “patch”.

Seemingly obvious API omissions can be frustrating, but extension methods let you “fix” just about any API to your liking.

Hit the jump for all the details!

READ MORE

RELATED POSTS


ALL TOPICS

analysis (2)
book-reviews (2)
business (20)
conquistador (2)
cortex (6)
design-essays (12)
fail-deadly (13)
freelancing (7)
game-design (68)
gdc (19)
igf (3)
indie (5)
kickstarter (5)
legacy-of-the-elder-star (3)
lightbox (3)
ludum-dare (4)
micro-bit (1)
monday-musings (11)
one-minute-robber (1)
ouya (2)
piracy (1)
politics (14)
post-format-video (1)
press (4)
protean (3)
scrivener (1)
site-maintenance (1)
social-games (3)
starhawk (3)
technical (7)
tri (2)
uncategorized (1)
unity (5)
utah (8)
video-games (120)
writing (5)