コード例 #1
0
    protected override void OnPhaseLoad(GamePhase phase)
    {
        switch (phase)
        {
        case GamePhase.Start:
            Eye e = Camera.main.gameObject.GetComponent <Eye>();
            e.EyeOpen(0.3f, false, () =>
            {
                e.EyeOpen(0.8f, true, null, 0.1f);
            });
            break;

        case GamePhase.Afternoon:
            break;

        case GamePhase.Dusk:
            break;

        case GamePhase.Night:
            break;

        case GamePhase.Latenight:
            break;

        case GamePhase.Dawn:
            break;

        case GamePhase.End:
            GameOver(true);
            break;
        }
    }