Esempio n. 1
0
 void Awake()
 {
     rb      = this.GetComponent <Rigidbody2D>();
     col     = this.GetComponent <Collider2D>();
     bounce  = this.GetComponentInChildren <BounceVertical>();
     glow    = this.GetComponent <BallGlow>();
     hotness = this.GetComponent <BallHotness>();
     source  = GetComponent <BallSource>();
 }