Example #1
0
 void Start()
 {
     rigidbody  = GetComponent <Rigidbody2D>();
     startpos   = transform.position;
     spRenderer = GetComponent <SpriteRenderer>();
     animator   = GetComponent <Animator>();
     serihu     = GameObject.Find("Textcontroller").GetComponent <serihu>();
 }
Example #2
0
    void Start()
    {
        Mc = GameObject.Find("MC chibi").GetComponent <ChibiMove>();

        moneyM = GameObject.Find("roberi").GetComponent <Money>();

        serihu = GameObject.Find("Textcontroller").GetComponent <serihu>();
    }