Example #1
0
        private void Awake()
        {
            HeroKitObject targetObject = this.GetComponent <HeroKitObject>();

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

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