Search the Community
Showing results for tags 'class'.
While making my animation plugin i started my last (pre-release) phase of adding sound support (Configuration, Animation, Control, Utility and Visual are done) I want to add sound fx to my animation(s) but my currently employed method of control/tracking animations properties can be a hit-and-miss for sound support (controlling animations looks fine for now). It works via PartModule.Update() and PartModule.OnUpdate(). These are not directly visible in PartModule (ie not suggested by VS IDE), but can be used because it inherits from Monobehaviour. After successfully doing some basic audio tests, i wanted to write an event handler that receives a reference to my class holding all needed data. And this is where i hit a wall. AnimationEvent handler is not designed to receive data in arbitrary form. There is objectReferenceParameter, but i don't know how to reference my class this way, it expects UnityEngine.Object. If example is needed, i'll try to provide a short version. Reference material
Sorry if this has been mentioned before, but it would be quite cool if Kerbal scientists had an option to become specialised in a certain science at a certain level, or in science mode. For example: a scientist could become a geologist: less science from space, but much more from surface samples/reports, or physicists who get much more data from siesmometers, gravioli detectors and thermometers.