コード例 #1
0
ファイル: CreateImage.cs プロジェクト: Evertonslv/poc-tcc
    private void SetInformationObject()
    {
        InformationObject informationObject;
        MarkerIdObject    markerIdObject = MarkerIdObject.GetInstance();

        foreach (GameObject objectSelect in listObjectSelecionado)
        {
            informationObject      = new InformationObject();
            informationObject.Name = objectSelect.name;
            informationObject.ImagePathMarkerLess = PropertiesModel.PathObjectDrawing;
            informationObject.IdMarker            = markerIdObject.getIdMarker(objectSelect.name);
            informationObject.Position            = objectSelect.transform.position;
            informationObject.Rotation            = objectSelect.transform.rotation;
            informationObject.Scale = objectSelect.transform.localScale;

            informationObjectList.ListInformationObject.Add(informationObject);
        }
    }