Hmm. If you access the method through the interface instead of the class itself, then the original hints using the interface should work with AOT, like for example:
1
2
3
4
varbb=GetComponent<IBlackboard>();
bb.SetValue("myFloat",10f);
Of course, even if you have a Blackboard object reference, you could do something like this, and should work as well with AOT:
1
2
3
4
varbb=GetComponent<Blackboard>();
(bb asIBlackboard).SetValue("myFloat",10f);
Please let me know if that is a valid solution for you, or whether you have to use the Blackboard class itself.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.