コード例 #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);
 }