Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     rbody  = GetComponent <Rigidbody2D>();
     anime  = GetComponent <Animator>();
     sprite = GetComponent <SpriteRenderer>();
     lebron = FindObjectOfType <LebronMovement>();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     lebron = FindObjectOfType <LebronMovement>();
 }