setDisplayBricks() public method

public setDisplayBricks ( bool display ) : void
display bool
return void
示例#1
0
    public void setEquipedDevice()
    {
        //    if(equipedDevice.GetComponent<EquipmentDevice>
        equipedDevice.transform.parent        = equipmentDevice.transform;
        equipedDevice.transform.localPosition = _equipedDeviceDummy.transform.localPosition;
        equipedDevice.transform.localScale    = new Vector3(1f, 1f, 0);
        equipedDevice.transform.localRotation = _equipedDeviceDummy.transform.localRotation;

        equipedDeviceScript.closeButton          = equipmentDeviceScript.closeButton;
        equipmentDeviceScript.closeButton.device = equipedDeviceScript;
        equipedDeviceScript.setDisplayBricks(false);
    }