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

            rd.property = property;
            return(rd);
        }
Exemplo n.º 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;
      */
 }
Exemplo n.º 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;
      */
 }
Exemplo n.º 4
0
 protected override void CacheProperty()
 {
     cachedProperty        = property.Clone() as CircleProperty;
     propertyObjectChanged = false;
 }