示例#1
0
 void Awake()
 {
     XLogger.LogWarning("Instantiate BlankPrefab", gameObject);
 }
示例#2
0
 public XUVScroller(Material material)
 {
     m_material = material;
     XLogger.LogValidObject(m_material, "Component is not bound <renderer.material>");
 }
示例#3
0
 // 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);
 }