void Start() { AutoDetector(); if (ObjectType != ItemType.Switch) { NormalOne = GetComponent <Renderer>().material.shader; } HoverOne = FlagManager.GetGlowShader(); }