コード例 #1
0
 AttachObject GetTarget(Attachment attachment) {
     return GetObject1(attachment);
 }
コード例 #2
0
 protected AttachObject GetTail(Attachment attachment)
 {
     return(attachment.objects.Get((int)Categories.Tail, 0));
 }
コード例 #3
0
 AttachObject GetFollower(Attachment attachment) {
     return GetObject2(attachment);
 }
コード例 #4
0
 public virtual void UpdateForEditorChanges(Attachment attachment)
 {
 }
コード例 #5
0
 protected AttachObject GetHead(Attachment attachment)
 {
     return(attachment.objects.Get((int)Categories.Head, 0));
 }
コード例 #6
0
 public virtual void DoLateUpdate(Attachment attachment)
 {
 }
コード例 #7
0
 // 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);
コード例 #8
0
 public virtual void OnParamsUpdated(Attachment attachment)
 {
 }
コード例 #9
0
 public virtual void DoFixedUpdate(Attachment attachment)
 {
 }
コード例 #10
0
 // an object was removed from the list so potentially connect/rearrange existing objects
 public virtual void OnObjectWasRemoved(Attachment attachment, AttachObject obj, int oldIndexInCategory)
 {
 }
コード例 #11
0
 public AttachObject GetConnectedObject(Attachment attachment)
 {
     return(GetObject2(attachment));
 }
コード例 #12
0
 public AttachObject GetJointedObject(Attachment attachment)
 {
     return(GetObject1(attachment));
 }
コード例 #13
0
        // 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);
        }
コード例 #14
0
 public override void OnParamsUpdated(Attachment attachment)
 {
     UpdateFromParamsAndApply(attachment);
 }