private void OnEnable() { creator = target as HairGeometryCreator; processor.Add(new CreatorInputInspector(creator)); processor.Add(new CreatorGroupInspector(creator)); processor.Add(new CreatorBrushInspector(creator)); processor.Add(new CreatorBrushView(creator)); brushes.Add(KeyCode.M, new CreatorMoveBrush(creator)); brushes.Add(KeyCode.R, new CreatorRemoveBrush(creator)); brushes.Add(KeyCode.G, new CreatorShrinkBrush(creator, 0.1f)); brushes.Add(KeyCode.S, new CreatorShrinkBrush(creator, -0.1f)); brushes.Add(KeyCode.C, new CreatorColorBrush(creator)); }
public CreatorColorBrush(HairGeometryCreator creator) : base(creator) { }
public CreatorBrushInspector(HairGeometryCreator creator) { this.creator = creator; }
public CreatorGroupInspector(HairGeometryCreator creator) { this.creator = creator; }
public CreatorBaseBrush(HairGeometryCreator creator) { Creator = creator; }
public CreatorInputInspector(HairGeometryCreator creator) { this.creator = creator; }
public CreatorMoveBrush(HairGeometryCreator creator) : base(creator) { }
public CreatorShrinkBrush(HairGeometryCreator creator, float ratio) : base(creator) { this.ratio = ratio; }
public CreatorBrushView(HairGeometryCreator creator) { Creator = creator; }