Exemplo n.º 1
0
        private void Awake()
        {
            HeroKitObject targetObject = this.GetComponent <HeroKitObject>();

            settings = targetObject.GetHeroComponent <HeroSettings3D>("HeroSettings3D", true);
        }
Exemplo n.º 2
0
        void OnEnable()
        {
            HeroKitObject targetObject = this.GetComponent <HeroKitObject>();

            settings = targetObject.GetHeroComponent <HeroSettings3D>("HeroSettings3D", true);
        }