// Use this for initialization void Start() { anim = this.GetComponent <AnimatedSpriteMesh>(); anim.initialize(); }
public void initialize() { anim = this.GetComponent <AnimatedSpriteMesh>(); }