Quantcast
Channel: Answers by "jaskij"
Viewing all articles
Browse latest Browse all 37

Answer by jaskij

$
0
0
According to [this][1] you have to use the virtual keyword, like class Animal { virtual static var desc : String = "I'm an animal"; } class Bird extends Animal { static var desc : String = "I'm a bird"; } should work, but I'm not too sure about the connection between static and virtual stuff... Been writing in C# from beginnig ;) [1]: http://forum.unity3d.com/threads/56738-javascript-and-polymorphism

Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>