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>();
 }
 void Start()
 {
     hotness     = GetComponent <BallHotness>();
     cameraShake = Camera.main.GetComponent <CameraShake>();
 }
Esempio n. 3
0
 void Awake()
 {
     rigid      = this.GetComponent <Rigidbody2D>();
     ballSource = this.GetComponent <BallSource>();
     hotness    = GetComponent <BallHotness>();
 }
Esempio n. 4
0
 void Start()
 {
     hotness = GetComponent <BallHotness>();
 }
 void Start()
 {
     hotness = GetComponent <BallHotness>();
     source  = GetComponent <BallSource>();
 }