public void CreateLineFollowing(DottedLineID DottedLineID, CoreInteractiveObject TargetInteractiveGameObject) { sourceTriggeringInteractiveObjects.Add(TargetInteractiveGameObject); lines.Add(new DottedLine(DottedLineID)); var targetGameObject = TargetInteractiveGameObject.InteractiveGameObject; linePositionings.Add(new LineFollowTransformPositioning(targetGameObject.InteractiveGameObjectParent.transform, targetGameObject.AverageModelBounds)); }
public DottedLine(DottedLineID dottedLineID) { this.dottedLineInherentData = VisualFeedbackConfigurationGameObject.Get().DottedLineConfiguration.ConfigurationInherentData[dottedLineID]; this.dottedLineGameObject = new DottedLineGameObject(VisualFeedbackConfigurationGameObject.Get().DottedLineStaticConfiguration.BaseDottedLineShader, this.dottedLineInherentData); }