Example #1
0
 /// <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);
 }
Example #2
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();
	}
Example #5
0
 override public int OnNeedMaximumVisibleItems(CIattachmentPoint ap)
 {
     return(6);
 }
Example #6
0
 override public Vector3 OnPositionForAttachmentPoint(CIattachmentPoint ap)
 {
     return(new Vector3());
 }
Example #7
0
 /// <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);
 }
Example #8
0
 /// <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();
 }