public static void InitMemberByInstance(HueFocus hf) { hue = hf.hue; range = hf.range; boost = hf.boost; amount = hf.amount; }
static HueFocusDef() { if (hueFocusEffect == null) { hueFocusEffect = Util.GetComponentVar <HueFocus, HueFocusDef>(hueFocusEffect); } hue = 0f; range = 30f; boost = 0.5f; amount = 1f; }