Example #1
0
        public void PlayAttachedTo(Transform transform)
        {
            if (QueuedItems >= MaxEventsPerFrame)
            {
                return;
            }

            playQueue[QueuedItems] = new PlayRequest(transform.position, transform);
            QueuedItems++;
        }
Example #2
0
        public void PlayAt(Vector3 position)
        {
            if (QueuedItems >= MaxEventsPerFrame)
            {
                return;
            }

            playQueue[QueuedItems] = new PlayRequest(position);
            QueuedItems++;
        }