示例#1
0
    private void ChangePlayerColor()
    {
        colorHandler = FindObjectOfType <ColorHandler>();
        Color paintColor = GetComponent <MeshRenderer>().material.color;

        colorHandler.PlayerGainColor(paintColor);
    }