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