Exemplo n.º 1
0
        public VisualPartRuntime Pull()
        {
            if (!_initialised)
            {
                Init();
            }
            VisualPartRuntime output = GetPoolItem();

            output.Activate();
            return(output);
        }
Exemplo n.º 2
0
        public void Activate()
        {
            HUtils.log();

            if (_renderer == null)
            {
                _renderer = gameObject.AddComponent <MeshRenderer>();
            }
            _renderer.enabled = true;
            if (_sibling != null)
            {
                _sibling.Activate();
            }
        }