void Start() { groundCheck = transform.Find("GroundCheck"); stealth = GetComponent <StealthComponent>(); pawn = GetComponent <APawn>(); body = GetComponent <Rigidbody2D>(); animator = GetComponent <Animator>(); }
// Use this for initialization protected override void Start() { stealth = GetComponent <StealthComponent>(); }