예제 #1
0
 void Awake()
 {
     ringTrigger  = GetComponent <RingTrigger>();
     stayStill    = new Vector3(0, 0, 0);
     startScaling = new Vector3(0.005f, 0.005f, 0f);
     scaleChange  = startScaling;
 }
예제 #2
0
 private void Awake()
 {
     RingTrigger = GameObject.Find("Ring").GetComponent <RingTrigger>();
     pointArea   = GetComponent <Collider>();
 }