Is there any way at all to have proprocessor text macros when using Unityscript in Unity3D?
What I mean here is for example simply “#define” when using most c compiler stacks… so if you’re working away in XCode …
#define WHEREPNG [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/finger.png"]
#define WHERETXT [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/finger.txt"]
#define UPTHERE [((AppDelegate_Pad *)([[UIApplication sharedApplication] delegate])) simpleSpaceship]
#define WAYUPTHERE ((AppDelegate_Pad *)([[UIApplication sharedApplication] delegate]))
#define ROUGHLYPI 3.1
#define usually(x) if ([rndm half] && x)
#define DATA_CHUNK_SIZE 262144 // Deal with gzipped data in 256KB chunks
#define COMPRESSION_AMOUNT Z_DEFAULT_COMPRESSION
#define READQUEUE_CAPACITY 5
blah blah ...
(TBC, that preprocessor has complex abilities like paramaters, etc. I would be incredibly happy with simply plain text substitution text macros.)