public static void LogValidObject(bool b, object msg, UnityEngine.Object obj) { if (b) { XLogger.LogError(msg, obj); } }
public static void LogValidObject(UnityEngine.Object validObj, object msg, UnityEngine.Object obj) { if (validObj == null) { XLogger.LogError(msg, obj); } }
public static void LogValidObject(bool b, object msg) { if (b) { XLogger.LogError(msg); } }
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); } }