static CreaseDef() { if (creaseEffect == null) { creaseEffect = Util.GetComponentVar <Crease, CreaseDef>(creaseEffect); } intensity = 0.5f; softness = 1; spread = 1f; }
public static void InitMemberByInstance(Crease c) { intensity = c.intensity; softness = c.softness; spread = c.spread; }