예제 #1
0
 void OnDisable()
 {
     if (dirty)
     {
         LipsyncAutomationData.SaveDataFile();
     }
 }
예제 #2
0
        /// <summary>
        /// Call this to build sequence databases
        /// </summary>
        public static void BuildSequenceDatabases()
        {
            LipsyncAutomationData dataFile = LipsyncAutomationData.GetDataFile();
            string dataPath   = dataFile.dataFolder;
            string outputPath = dataFile.outputFolder;

            BuildSequenceDatabases(dataPath, outputPath);
        }
예제 #3
0
        public static LipsyncAutomationData GetDataFile()
        {
            LipsyncAutomationData dataFile = (LipsyncAutomationData)AssetDatabase.LoadAssetAtPath(path, typeof(LipsyncAutomationData));

            if (dataFile == null)
            {
                dataFile = ScriptableObject.CreateInstance <LipsyncAutomationData>();
            }

            return(dataFile);
        }
예제 #4
0
 void OnEnable()
 {
     dataFile = LipsyncAutomationData.GetDataFile();
 }
예제 #5
0
 void OnEnable()
 {
     dataFile = LipsyncAutomationData.GetDataFile();
 }