void Start() { rigidbody = GetComponent <Rigidbody2D>(); startpos = transform.position; spRenderer = GetComponent <SpriteRenderer>(); animator = GetComponent <Animator>(); serihu = GameObject.Find("Textcontroller").GetComponent <serihu>(); }
void Start() { Mc = GameObject.Find("MC chibi").GetComponent <ChibiMove>(); moneyM = GameObject.Find("roberi").GetComponent <Money>(); serihu = GameObject.Find("Textcontroller").GetComponent <serihu>(); }