void Awake() { XLogger.LogWarning("Instantiate BlankPrefab", gameObject); }
public XUVScroller(Material material) { m_material = material; XLogger.LogValidObject(m_material, "Component is not bound <renderer.material>"); }
// Awake is called when the script instance is being loaded. void Awake() { m_audioSource = this.GetComponent <AudioSource>(); XLogger.LogValidObject(m_audioSource, LibConstants.ErrorMsg.GetMsgNotBoundComponent("AudioSource"), gameObject); this.gameObject.SetActive(false); }