MColor.MColor C# (CSharp) Method

MColor() public method

public MColor ( int index, string name, Color color, Color beastColor, Color attackRedColor ) : System
index int
name string
color Color
beastColor Color
attackRedColor Color
return System
    public MColor(int index, string name, Color color, Color beastColor, Color attackRedColor)
    {
        this.index = index;
        this.name = name;
        this.color = color;
        this.addColor = new Color(color.r*1.2f,color.g*1.2f,color.b*1.3f,1.0f);
        this.beastColor = beastColor;
        this.attackRedColor = attackRedColor;

        colors[index] = this;
    }
MColor