FabricRecent Updates

Recent Updates

  • Updated on: Sep 19, 2016

    MIDIComponent

    Manual Fabric Manual
  • Updated on: Sep 19, 2016

    Version 2.2.7

    Manual Fabric Manual
  • Updated on: Sep 13, 2016

    Version 2.2.1

    This version of Fabric introduces a number of new and exciting audio features as well as improvements and fixes such as:

    Manual Fabric Manual
  • Updated on: Sep 13, 2016

    Version 2.2.2

    This special Beta version of Fabric introduces a number of new features, improvements and bug fixes.

    Manual Fabric Manual
  • Updated on: Jul 04, 2016

    EventTrigger

    Manual Fabric Manual
  • Updated on: Jul 04, 2016

    RandomComponent

    Manual Fabric Manual
  • Updated on: Jul 04, 2016

    FabricManager

    Manual Fabric Manual
  • Updated on: Jul 04, 2016

    Event Notifications

    A new set of PostEventNotify functions are available that allow to post events and get various notifications back such as:

    public enum EventNotificationType
    {
    	OnFinished,
    	OnStolenOldest,
    	OnStolenNewest,
    	OnStolenFarthest,
    	OnAudioComponentStopped,
    	OnSequenceNextEntry,
    	OnSequenceAdvance,
    	OnSequenceEnd,
    	OnSequenceLoop,
    	OnSwitch,
    	OnMarker,
    	OnRegionSet,
    	OnRegionQueued,
    	OnRegionEnd,
    	OnAudioComponentPlay,
    	OnPlay
    } 

    Here is a script example on how to post an event and listen for a notification.

    public void Notify(Fabric.EventNotificationType type, string eventName, object info, GameObject gameObject)
    {
        if (info != null)
        {
            if (type == Fabric.EventNotificationType.OnSequenceAdvance)
            {
                Fabric.Component c = info as Fabric.Component;
                if (c != null)
                {
                    Debug.Log("Info: " + c.name);
                }
            }
            else if (type == Fabric.EventNotificationType.OnMarker)
            {
                Fabric.MarkerNotficationData c = info as Fabric.MarkerNotficationData;
                if (c != null)
                {
                    Debug.Log("Offset: " + c._offset + " - Label: " + c._label);
                }
            }
        }
    }
    
    void Update () 
    {
        if (Input.GetKeyDown(KeyCode.Alpha1))
        {
            Fabric.EventManager.Instance.PostEventNotify("Simple", gameObject, Notify);
        }
    }

     

     

     

     

     

     

     

     

     

    Manual Fabric Manual
  • Updated on: Apr 18, 2016

    AudioMixer Manager

    Manual Fabric Manual
  • Updated on: Jan 25, 2016

    Components

    Manual Fabric Manual