ColorSelector.Init C# (CSharp) Method

Init() public method

public Init ( ) : void
return void
    public void Init()
    {
        hex1.GUIColorLerp(Constants.RandomColor());
        hex2.GUIColorLerp(Constants.RandomColor());
    }

Same methods

ColorSelector::Init ( int c1, int c2 ) : void

Usage Example

Exemplo n.º 1
0
    IEnumerator StartGame()
    {
        level       = 1;
        score       = 0;
        startScore  = 0;
        targetScore = 5000;
        colorSelector.Init();

        earnedback = 0;
        roundsdown = 0;

        StartCoroutine(Utils.SlowSpawnSiblings(origin));
        while (GridBusy())
        {
            yield return(new WaitForEndOfFrame());
        }
        disabled = false;
    }
All Usage Examples Of ColorSelector::Init