コード例 #1
0
    void HandleAcidSource(Collider col)
    {
        Source source = col.GetComponent <Source>();

        Debug.LogWarning("adding acid");
        if (AcidLoads < maxLoads)
        {
            AcidLoads += source.GetLoad();
            WaterLoads = 0;
            playerModel.ChangeColorToAcid();
        }
    }