Пример #1
0
    // 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;
    }
Пример #2
0
    // Start is called before the first frame update
    void Start()
    {
        target = GameObject.Find("Ship");

        BA = GameObject.Find("ArmModelContainer").GetComponent <BossArm>();
        R  = GameObject.Find("Arm").GetComponent <BossArmRot>();
        BM = GameObject.Find("boss").GetComponent <BossMovement>();

        player = GameObject.Find("Ship");

        centerlight = transform.Find("Sphere").gameObject;



        Health = 50;
    }