Пример #1
0
        public static VisualFeedbackConfigurationGameObject Get()
        {
            if (Instance == null)
            {
                Instance = FindObjectOfType <VisualFeedbackConfigurationGameObject>();
            }

            return(Instance);
        }
Пример #2
0
 public DottedLine(DottedLineID dottedLineID)
 {
     this.dottedLineInherentData = VisualFeedbackConfigurationGameObject.Get().DottedLineConfiguration.ConfigurationInherentData[dottedLineID];
     this.dottedLineGameObject   = new DottedLineGameObject(VisualFeedbackConfigurationGameObject.Get().DottedLineStaticConfiguration.BaseDottedLineShader, this.dottedLineInherentData);
 }