private IEnumerator ShowHighlightAfterDelay()
        {
            yield return(new WaitForSeconds(0.25f));

            FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, ftuePositioner.transform.position, Quaternion.identity, ftueParent);

            instantiatedPrefab.SetupHighlightArrow(FtueArrowDirection.Left);
        }
예제 #2
0
        public void ShowArrowHighlight(Transform parent, FtueArrowDirection direction)
        {
            FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, this.gameObject.transform.position, Quaternion.identity, parent);

            instantiatedPrefab.SetupHighlightArrow(direction);
        }
예제 #3
0
        public void ShowSquareArrow(Transform parent, int squareLength, FtueArrowDirection direction)
        {
            FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, this.gameObject.transform.position, Quaternion.identity, parent);

            instantiatedPrefab.SetupArrow(squareLength, direction);
        }
예제 #4
0
        public void ShowCircleSquare(Transform parent)
        {
            FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, this.gameObject.transform.position, Quaternion.identity, parent);

            instantiatedPrefab.SetupHighlight();
        }
예제 #5
0
        public void ShowIgnoreSquare(Transform parent, int number)
        {
            FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, this.gameObject.transform.position, Quaternion.identity, parent);

            instantiatedPrefab.SetupDisabled(number);
        }