| | |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: Object_064 |
| | | m_Name: Object_063 |
| | | m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0} |
| | | m_ShaderKeywords: |
| | | m_LightmapFlags: 4 |
| | |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_Name: Object_065 |
| | | m_Name: Object_064 |
| | | m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0} |
| | | m_ShaderKeywords: |
| | | m_LightmapFlags: 4 |
| | |
| | | else |
| | | { |
| | | int result = 0; |
| | | int.TryParse(WoodInput.text, out result); |
| | | int.TryParse(WaterInput.text, out result); |
| | | level = Mathf.Clamp(result - 1, 0, ElfUpgradeData.MaxTowerLevel - 1); |
| | | } |
| | | |
| | |
| | | else |
| | | { |
| | | int result = 0; |
| | | int.TryParse(WoodInput.text, out result); |
| | | int.TryParse(FireInput.text, out result); |
| | | level = Mathf.Clamp(result - 1, 0, ElfUpgradeData.MaxTowerLevel - 1); |
| | | } |
| | | |