예제 #1
0
        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));
        }
예제 #2
0
 public DottedLine(DottedLineID dottedLineID)
 {
     this.dottedLineInherentData = VisualFeedbackConfigurationGameObject.Get().DottedLineConfiguration.ConfigurationInherentData[dottedLineID];
     this.dottedLineGameObject   = new DottedLineGameObject(VisualFeedbackConfigurationGameObject.Get().DottedLineStaticConfiguration.BaseDottedLineShader, this.dottedLineInherentData);
 }