Пример #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);
 }