Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Object does not support slicing (Adventurer Character asset)

$
0
0
So I have multiple errors across multiple lines of this and similar: var currentNormalizedTime : float = adventurer.animation[currentAnimationName].normalizedTime - Mathf.Floor(adventurer.animation[currentAnimationName].normalizedTime); I tried replacing adventurer.animation[currentAnimationName] with adventurer.GetComponent()[currentAnimationName] as reccomended by another thread on the subject, but that just throws a bunch of syntax errors. I very much prefer C#, I'm totally lost in js... What am I doing wrong?

Viewing all articles
Browse latest Browse all 1875

Trending Articles



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