18 lines
472 B
C#
18 lines
472 B
C#
using System.Collections;
|
||
using System.Collections.Generic;
|
||
using UnityEngine;
|
||
|
||
public class SceneData : MonoBehaviour
|
||
{
|
||
[SerializeField] int OperatingCapacity;//运行容量
|
||
[SerializeField] int FixedValue = 295;//固定容量
|
||
public int GFData;//光伏板数量=运行容量/固定容量,取int值
|
||
public int inverterSum = 2;
|
||
// Start is called before the first frame update
|
||
void Awake()
|
||
{
|
||
//Global
|
||
GFData = OperatingCapacity / FixedValue;
|
||
}
|
||
}
|