/// <summary> /// Overrideable event - Unknown use. /// </summary> /// <param name="ap">ap.</param> /// <remarks>Unusual for an event to be able to return a value.</remarks> virtual public int OnNeedMaximumVisibleItems(CIattachmentPoint ap) { return(0); }
/// <summary> /// Overrideable event - absolute local rotation /// </summary> /// <param name="ap">Ap.</param> /// <remarks>Unusual for an event to be able to return a value.</remarks> virtual public Vector3 OnRotationForAttachmentPoint(CIattachmentPoint ap) { return(new Vector3()); }
override public int OnNeedMaximumVisibleItems(CIattachmentPoint ap) { return 1; }
override public Vector3 OnRotationForAttachmentPoint (CIattachmentPoint ap){ return new Vector3(); }
override public int OnNeedMaximumVisibleItems(CIattachmentPoint ap) { return(6); }
override public Vector3 OnPositionForAttachmentPoint(CIattachmentPoint ap) { return(new Vector3()); }
/// <summary> /// Overridden event - absolute local rotation /// </summary> /// <param name="ap">Ap.</param> /// <remarks>Unusual for an event to be able to return a value.</remarks> override public Vector3 OnRotationForAttachmentPoint(CIattachmentPoint ap) { return(ap.transform.localEulerAngles); }
/// <summary> /// Overridden event - absolute local position /// </summary> /// <param name="ap">Ap.</param> /// <remarks>Unusual for an event to be able to return a value.</remarks> override public Vector3 OnPositionForAttachmentPoint(CIattachmentPoint ap) { return(ap.transform.localPosition); }
public override Vector3 OnPositionForAttachmentPoint(CIattachmentPoint ap) { return new Vector3(); }