public void AbcLoad(bool createMissingNodes = false) { if (m_pathToAbc == null) { return; } m_trans = GetComponent <Transform>(); m_abc = AbcAPI.aiCreateContext(gameObject.GetInstanceID()); m_loaded = AbcAPI.aiLoad(m_abc, Application.streamingAssetsPath + "/" + m_pathToAbc); if (m_loaded) { m_startTime = AbcAPI.aiGetStartTime(m_abc); m_endTime = AbcAPI.aiGetEndTime(m_abc); m_timeOffset = -m_startTime; m_timeScale = 1.0f; m_preserveStartTime = true; m_forceRefresh = true; AbcSyncConfig(); AbcAPI.UpdateAbcTree(m_abc, m_trans, AbcTime(m_time), createMissingNodes); } }