Пример #1
0
        private string formatScale(int index, ISerializableObject serializableObject)
        {
            string tempScale = string.Format("newGameObject{0}.Scale = ", index);

            tempScale += "{ ";
            tempScale += string.Format("x = {0}, y = {1}, z = {2}",
                                       serializableObject.GetScale().x,
                                       serializableObject.GetScale().y,
                                       serializableObject.GetScale().z);
            tempScale += " }\n";
            return(tempScale);
        }