Пример #1
0
        public void Init()
        {
            this.CommandBuffer      = new CommandBuffer();
            this.CommandBuffer.name = this.GetType().Name;

            this.materialProperty = new MaterialPropertyBlock();

            this.CircleFillBarConfiguration = CircleFillBarConfigurationGameObject.Get().CircleFillBarConfiguration;
        }
Пример #2
0
        public static CircleFillBarConfigurationGameObject Get()
        {
            if (Instance == null)
            {
                Instance = FindObjectOfType <CircleFillBarConfigurationGameObject>();
            }

            return(Instance);
        }