示例#1
0
    void Update()
    {
        СheckOutput();

        KeyboardController();

        if (!camera.IsPlay())
        {
            DestroyPlayer();
        }
        if (transform.parent != null)
        {
            camera.SideMove();
        }
    }