Zinnia.Unity icon indicating copy to clipboard operation
Zinnia.Unity copied to clipboard

Make all sub classes that are used by fields extend MonoBehaviour so they can be used as property components within the inspector

Open thestonefox opened this issue 7 years ago • 3 comments

thestonefox avatar Nov 14 '18 15:11 thestonefox

For use with #210

thestonefox avatar Nov 14 '18 15:11 thestonefox

Candidates

  • ObjectPointer.Element
  • TransformData

Event Data

(should this be a monobehaviour? I don't think you should be able to configure event data via a component imho)

  • PointsCast.EventData
  • ActionCollisionContainer.EventData
  • ActionCollisionConsumer.EventData
  • ActionCollisionPublisher.Payload (this is the data for the event, probably should be renamed too to EventData?)
  • CollisionNotifier.EventData
  • ObjectDistanceComparator.EventData
  • ObjectFollower.EventData
  • TransformPropertyApplier.EventData
  • CameraColorOverlay.EventData
  • PointsRenderer.EventData

Ignore?

Probably just leaves these as they are

  • ActionRegistrar.ActionSource (this is a struct because we need the serialization)
  • GameObjectEventStack.EventElements (this is just a collection of events so can be ignored)
  • GameObjectRelation.Relation (unsure why this is a class, maybe should be a struct?)
  • RulesMatcher.Element(dubious whether this should be MonoBehaviour)

thestonefox avatar Nov 15 '18 10:11 thestonefox

ObjectPointer.Element is now it's own PointerElement class anyway.

thestonefox avatar Mar 23 '19 15:03 thestonefox