Submarine_Resources.getOxygenLevel C# (CSharp) Метод

getOxygenLevel() публичный Метод

public getOxygenLevel ( ) : float
Результат float
    public float getOxygenLevel()
    {
        return oxygenLevel;
    }

Usage Example

Пример #1
0
    private Submarine_Resources sub_res; //Use to get the Submarine_Resource component info.

    #endregion Fields

    #region Methods

    // Use this for initialization
    void Start()
    {
        if (subt < 0.0f)
            subt = 0.001f;

        sub_res = GetComponent<Submarine_Resources>();
        oxygenValue = sub_res.getOxygenLevel();
        saturationValue = Camera.main.GetComponent<ColorCorrectionCurves>().saturation;
    }
All Usage Examples Of Submarine_Resources::getOxygenLevel