コード例 #1
0
ファイル: Patient.cs プロジェクト: nox282/FortyHourGameJame
    void Start()
    {
        timeLeft = lifespan;

        wwInterface    = GetComponent <WwiseInterface>();
        gameController = GameObject.FindObjectOfType <GameController>();

        if (!inTutorial)
        {
            StartCoroutine(CountDown());
        }
    }
コード例 #2
0
    void Awake()
    {
        DontDestroyOnLoad(transform.gameObject);

        wwInterface = GetComponent <WwiseInterface>();
    }