AttachObject GetTarget(Attachment attachment) { return GetObject1(attachment); }
protected AttachObject GetTail(Attachment attachment) { return(attachment.objects.Get((int)Categories.Tail, 0)); }
AttachObject GetFollower(Attachment attachment) { return GetObject2(attachment); }
public virtual void UpdateForEditorChanges(Attachment attachment) { }
protected AttachObject GetHead(Attachment attachment) { return(attachment.objects.Get((int)Categories.Head, 0)); }
public virtual void DoLateUpdate(Attachment attachment) { }
// reference isn't always needed. transitioners should always provide a reference; strategies may be able to // get away without one and just pass in the Attachment instead. public abstract AttachObject ResolveProvider(int provider, Attachment attachment);
public virtual void OnParamsUpdated(Attachment attachment) { }
public virtual void DoFixedUpdate(Attachment attachment) { }
// an object was removed from the list so potentially connect/rearrange existing objects public virtual void OnObjectWasRemoved(Attachment attachment, AttachObject obj, int oldIndexInCategory) { }
public AttachObject GetConnectedObject(Attachment attachment) { return(GetObject2(attachment)); }
public AttachObject GetJointedObject(Attachment attachment) { return(GetObject1(attachment)); }
// public override void DoLateUpdate(Attachment attachment) { // // todo - is this just for updating the target if keepTargetUpdated is true??? // } public override void UpdateForEditorChanges(Attachment attachment) { UpdateFromParamsAndApply(attachment); }
public override void OnParamsUpdated(Attachment attachment) { UpdateFromParamsAndApply(attachment); }