コード例 #1
0
    /// <summary>
    /// The learner score raw edit end event.
    /// </summary>
    /// <param name="value">Value.</param>
    public void OnLearnerScoreRawEditEnd(string value)
    {
        ScormManager.SetScoreRaw(float.Parse(value));
        float scoreScaled = float.Parse(value) / float.Parse(GameObject.Find("InputFieldMax").GetComponent <InputField> ().text);

        ScormManager.SetScoreScaled(scoreScaled);
    }