private CircleCollider2D cc; // CACHED CIRCLE COLLIDER 2D void Awake() { Instance = this; this.tr = this.GetComponent <Transform>(); this.rb = this.GetComponent <Rigidbody2D>(); this.cc = this.GetComponent <CircleCollider2D>(); }
void Awake() { Instance = this; this.tr = this.GetComponent<Transform>(); this.rb = this.GetComponent<Rigidbody2D>(); this.cc = this.GetComponent<CircleCollider2D>(); }