Ejemplo n.º 1
0
        public static SelectableObjectsConfigurationGameObject Get()
        {
            if (Instance == null)
            {
                Instance = FindObjectOfType <SelectableObjectsConfigurationGameObject>();
            }

            return(Instance);
        }
Ejemplo n.º 2
0
        public SelectableObjectRendererManager()
        {
            this.SelectableObjectsConfiguration = SelectableObjectsConfigurationGameObject.Get().SelectableObjectsConfiguration;
            CommandBufer      = new CommandBuffer();
            CommandBufer.name = GetType().Name;

            //Camera.main.AddCommandBuffer(CameraEvent.AfterForwardAlpha, this.commandBufer);

            SelectableObjectIconAnimation    = new SelectableObjectIconAnimation();
            SelectionDoticonMaterialProperty = new MaterialPropertyBlock();
        }