Init() 공개 메소드

public Init ( ) : void
리턴 void
예제 #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;
    }
예제 #2
0
    public void Awake()
    {
        HoverData _hoverData = new HoverData();

        foreach (var item in _editModes)
        {
            item.Init(_hoverData);
        }

        _colorSelector.Init(_colorPicker);

        _layout.childControlHeight = false;
        _layout.childControlWidth  = false;

        if (_colorPicker == null)
        {
            _colorPicker = FindObjectOfType <Colorpicker>();
        }
        _colorPicker.Init();
    }