Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

WTF does this error mean

$
0
0
im teaching myself how to create and script animations by myself and so far so good the creating part was easy but i cant figure out what the correct scripting is to make the animation play at the right time so this errors keep showing up An instance of type 'UnityEngine.Animation' is required to access non static member 'Stop'. An instance of type 'UnityEngine.Animation' is required to access non static member 'Play'. and heres the lines of scripts that those errors are referencing if(Input.GetButton("run")) { **Animation.Play("runninganimations");** } else { **Animation.Stop("runninganimations");** }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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