예제 #1
0
    // Update is called once per frame
    void Update()
    {
        if (!GameManager.GameOver)
        {
            if (Client.LocalClient != null)
            {
                if (!Client.LocalClient.isServer)
                {
                    return;
                }
            }

            if (owner != null)
            {
                owner.AddPoints();
            }
        }
    }