コード例 #1
0
    private float minigame03Performance()
    {
        HammerGame hGame  = GetComponent <HammerGame>();
        float      points = hGame.point;
        float      totalPossiblePoints = hGame.totalPossiblePoints;

        return(points / totalPossiblePoints);
    }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     hGame = GetComponentInParent <HammerGame>();
 }