コード例 #1
0
 public static void InitMemberByInstance(HueFocus hf)
 {
     hue    = hf.hue;
     range  = hf.range;
     boost  = hf.boost;
     amount = hf.amount;
 }
コード例 #2
0
        static HueFocusDef()
        {
            if (hueFocusEffect == null)
            {
                hueFocusEffect = Util.GetComponentVar <HueFocus, HueFocusDef>(hueFocusEffect);
            }

            hue    = 0f;
            range  = 30f;
            boost  = 0.5f;
            amount = 1f;
        }