コード例 #1
0
        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);
        }