Exemple #1
0
 private void Awake()
 {
     Instance  = this;
     texMapper = GetComponentInChildren <TextureMapper>();
     if (TextureManager.Instance.CurrentTextureToApply != null)
     {
         texMapper.SetTexture(TextureManager.Instance.CurrentTextureToApply);
     }
 }
 private void Awake()
 {
     Instance = this;
 }