void Awake() { player = GetComponent<Player>(); renderer = GetComponent<SpriteRenderer>(); animator = GetComponent<Animator>(); }
void Awake() { rigidBody2D = GetComponent<Rigidbody2D>(); player = GetComponent<Player>(); RandomizeStatus(); }