// Start is called before the first frame update void Start() { rigid = GetComponent <Rigidbody>(); count = 0; y = 1; Pusher = GameObject.Find("PushManager"); push = Pusher.GetComponent <PushFlag>(); }
void Start() { Pusher = GameObject.Find("PushManager"); push = Pusher.GetComponent <PushFlag>(); }