public static VisualFeedbackConfigurationGameObject Get() { if (Instance == null) { Instance = FindObjectOfType <VisualFeedbackConfigurationGameObject>(); } return(Instance); }
public DottedLine(DottedLineID dottedLineID) { this.dottedLineInherentData = VisualFeedbackConfigurationGameObject.Get().DottedLineConfiguration.ConfigurationInherentData[dottedLineID]; this.dottedLineGameObject = new DottedLineGameObject(VisualFeedbackConfigurationGameObject.Get().DottedLineStaticConfiguration.BaseDottedLineShader, this.dottedLineInherentData); }