// Start is called before the first frame update void Start() { C = transform.Find("center").gameObject.GetComponent <BossCenter>(); ResetL = 1.5f; ShotTimerL = 2.5f; ResetHM = 1.0f; ShotTimerHM = 1.2f; ResetB = 1.0f; ShotTimerB = 1.2f; }
// Start is called before the first frame update void Start() { // BL = transform.Find("big laser").gameObject; C = GameObject.Find("center").GetComponent <BossCenter>(); R = GameObject.Find("Arm").GetComponent <BossArmRot>(); GunLight = transform.Find("Sphere").gameObject; model = transform.Find("model").gameObject; player = GameObject.Find("Ship"); Health = 30; }
// Start is called before the first frame update void Start() { C = transform.Find("center").gameObject.GetComponent <BossCenter>(); A = transform.Find("ArmModelContainer").gameObject.GetComponent <BossArm>(); }