private void Awake()
 {
     // register with the theme controller
     themeController = ThemeController.Instance;
     themeController.RegisterThemedObjectHandler(this);
     animator = GetComponentInParent <Animator>();
 }
 private void Awake()
 {
     tmpPro = GetComponentInParent <TMP_Text>();
     // register with the theme controller
     themeController = ThemeController.Instance;
     themeController.RegisterThemedObjectHandler(this);
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Awake()
 {
     particles   = GetComponentInParent <ParticleSystem>();
     image       = GetComponentInParent <Image>();
     pigGrunting = GetComponentInParent <AudioSource>();
     // register with the theme controller
     themeController = ThemeController.Instance;
     themeController.RegisterThemedObjectHandler(this);
 }
Exemplo n.º 4
0
    private void Start()
    {
        Random.InitState(System.Environment.TickCount);
        BorgPlayer.spinner = this;
        // register with the theme controller
        themeController = ThemeController.Instance;
        themeController.RegisterThemedObjectHandler(this);

        spinButton = FindObjectOfType <Button>();
    }
 virtual protected void Awake()
 {
     // register with the theme controller
     themeController = ThemeController.Instance;
     themeController.RegisterThemedObjectHandler(this);
 }
Exemplo n.º 6
0
 private void Start()
 {
     // register with the theme controller
     themeController = ThemeController.Instance;
     themeController.RegisterThemedObjectHandler(this);
 }