Пример #1
0
    void Start()
    {

        this.gameObject.transform.parent = GameObject.Find("CustomerContainer").gameObject.transform;
        cContainer = GameObject.Find("CustomerContainer").GetComponent<CustomerContainer>();

        product = cContainer.GetWeapon();
        difficulty = cContainer.GetDifficultyCheck();
        DifficultySettings();
        
        customerName = "Customer #" + cContainer.customerCount;
        this.gameObject.name = customerName;
        ChangePhase(1);
    } // END Start