コード例 #1
0
    void GetPlayer()
    {
        if (player == null)
        {
            player = FindObjectOfType <Player>();

            if (player == null)
            {
                Defines.PrintLog("플레이어를 찾을 수 없음");
                return;
            }

            player.GetPlayer();
            cameraCtrl.Init(player.transform);
        }
    }