Quantcast
Channel: Answers for "How can I keep a member var that refrences a public var in another class?"
Browsing latest articles
Browse All 4 View Live

Answer by Owen-Reynolds

Can't do it with floats. The whole C#/Java idea specifically forbids keeping a pointer to a primitive data type. You can only have (implicit) pointers to "managed" data types. New'd classes are...

View Article



Answer by Azrapse

This solution let's you create something similar to what you want, while not using real pointers. First, create a new C# script file called Pointer.cs and put this inside: using System; public static...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images