Has anyone found a good aspect oriented framework that works with Unity3D? I’m not 100% sure about the AOP pattern looks like a good way to avoid adding in achievement and tracking code into a bunch of functions.
I agree that AOP might be helpful there. Have you tried using PostSharp? There is some evidence that it works with Unity3d, though I don’t think it’s probably supported officially.
Here are a couple places you might start:
http://stackoverflow.com/questions/13269246/is-there-something-like-python-decorators-for-c
http://answers.unity3d.com/questions/504525/can-you-use-postsharp-in-unity.html
Thanks for the links! The only thing I’m worried about is that they inject IL code. I wonder if that that might cause security issues on webpalyer and iOS platforms.