コード例 #1
0
    public void RefreshSelectedSpecies(float unusedSliderValue = 0F)
    {
        int speciesIdx = slider.horizontalStepValue;

        if (simManager != null)
        {
            Color  speciesColor       = simManager.GetSpeciesColor(speciesIdx);
            string speciesColorString = ColorUtility.ToHtmlStringRGB(speciesColor);
            OnSpeciesColor.Invoke("#" + speciesColorString);
            //simManager.socialHandSpecies = speciesIdx;
            //TODO
            //(i don't think we need this anymore)
        }
    }