Example #1
0
 private void Start()
 {
     boss           = GetComponentInParent <Boss2Attack>();
     turretRenderer = GetComponent <Renderer>();
     defaultColor   = turretRenderer.material.color;
     hitColor       = new Color(171, 171, 171);
 }
Example #2
0
 private void Start()
 {
     boss = GetComponent <Boss2Attack>();
 }