private IEnumerator ShowHighlightAfterDelay() { yield return(new WaitForSeconds(0.25f)); FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, ftuePositioner.transform.position, Quaternion.identity, ftueParent); instantiatedPrefab.SetupHighlightArrow(FtueArrowDirection.Left); }
public void ShowArrowHighlight(Transform parent, FtueArrowDirection direction) { FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, this.gameObject.transform.position, Quaternion.identity, parent); instantiatedPrefab.SetupHighlightArrow(direction); }
public void ShowSquareArrow(Transform parent, int squareLength, FtueArrowDirection direction) { FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, this.gameObject.transform.position, Quaternion.identity, parent); instantiatedPrefab.SetupArrow(squareLength, direction); }
public void ShowCircleSquare(Transform parent) { FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, this.gameObject.transform.position, Quaternion.identity, parent); instantiatedPrefab.SetupHighlight(); }
public void ShowIgnoreSquare(Transform parent, int number) { FtueSquare instantiatedPrefab = Instantiate(ftuePrefab, this.gameObject.transform.position, Quaternion.identity, parent); instantiatedPrefab.SetupDisabled(number); }