Exemple #1
0
        public static CircleRenderer InstantiateCircle(CircleProperty property)
        {
            var go = new GameObject("Circle");
            var rd = go.AddComponent <CircleRenderer>();

            rd.property = property;
            return(rd);
        }
Exemple #2
0
 public static void SetDefaultCircleStyle(CircleProperty obj)
 {
     /*
      * color = obj.color;
      * diameter = obj.diameter;
      *
      * borderStyle = obj.borderStyle;
      * borderPosition = obj.borderPosition;
      * dashLength = obj.dashLength;
      * gapLength = obj.gapLength;
      */
 }
Exemple #3
0
 /*
  * CIRCLE
  */
 static void ApplyToCircle(CircleProperty obj)
 {
     /*
      * obj.color = color;
      * obj.diameter = diameter;
      *
      * obj.borderStyle = borderStyle;
      * obj.borderPosition = borderPosition;
      * obj.dashLength = dashLength;
      * obj.gapLength = gapLength;
      */
 }
 protected override void CacheProperty()
 {
     cachedProperty        = property.Clone() as CircleProperty;
     propertyObjectChanged = false;
 }