void Start()

in UltraFrogRoyale/Assets/GamePlayerController.cs [79:92]


    void Start()
    {
        rigidBody = GetComponent<Rigidbody2D>();
        cameraRigidBody = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<Rigidbody2D>();
        cameraRigidBody.MovePosition(rigidBody.position);
        tongue.gameObject.SetActive(false);

        // sync vars don't always seem available on StartClient for all objects, but attempt to set them here
        if (isClient)
        {
            GetComponent<SpriteRenderer>().color = playerColor;
            nameSprite.GetComponent<TextMesh>().text = playerName;
        }
    }