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

            return(Instance);
        }
Esempio 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();
        }