|
Post by kevjosef on Feb 27, 2018 6:40:03 GMT
This may seem like a generic programming question, but I have downcasted successfully before. I have been able to trace these scripts back to their original superclass, which in the case of the vThirdPersonController is just a monobehavior, and I have been completely unable to successfully downcast a monobehavior object created in a custom script into a vThirdPersonController (I might have that name wrong here). I'm wondering how you would downcast the object from another script so that you can access the child class's parameters. Specifically, I'm trying to access and change the strafe option and health externally. Thanks
|
|