public static void InitMemberByInstance(DynamicLookup dl) { white = dl.white; black = dl.black; red = dl.red; green = dl.green; blue = dl.blue; yellow = dl.yellow; magenta = dl.magenta; cyan = dl.cyan; amount = dl.amount; }
static DynamicLookupDef() { if (dynamicLookupEffect == null) { dynamicLookupEffect = Util.GetComponentVar <DynamicLookup, DynamicLookupDef>(dynamicLookupEffect); } white = new Color(1f, 1f, 1f); black = new Color(0f, 0f, 0f); red = new Color(1f, 0f, 0f); green = new Color(0f, 1f, 0f); blue = new Color(0f, 0f, 1f); yellow = new Color(1f, 1f, 0f); magenta = new Color(1f, 0f, 1f); cyan = new Color(0f, 1f, 1f); amount = 1f; }