예제 #1
0
 public static void LogValidObject(bool b, object msg, UnityEngine.Object obj)
 {
     if (b)
     {
         XLogger.LogError(msg, obj);
     }
 }
예제 #2
0
 public static void LogValidObject(UnityEngine.Object validObj, object msg, UnityEngine.Object obj)
 {
     if (validObj == null)
     {
         XLogger.LogError(msg, obj);
     }
 }
예제 #3
0
 public static void LogValidObject(bool b, object msg)
 {
     if (b)
     {
         XLogger.LogError(msg);
     }
 }
예제 #4
0
        public void SetClip(uint index)
        {
            Stop();

            if (index < m_audioClipTable.Length)
            {
                m_audioSource.clip = m_audioClipTable[index];
            }
            else
            {
                XLogger.LogError("Index: out of range", gameObject);
            }
        }