// Use this for initialization void Start() { script_GC = FindObjectOfType(typeof(_GC_Training)) as _GC_Training; left = GameObject.Find("Left").transform; right = GameObject.Find("Right").transform; playerRb = GetComponent <Rigidbody2D>(); playerAnimator = GetComponent <Animator>(); }
void Start() { script_GC = FindObjectOfType(typeof(_GC_Training)) as _GC_Training; }