Skip to content

Commit

Permalink
v3.0
Browse files Browse the repository at this point in the history
avoid of memory leak, optimize the total data structure to make less gc
  • Loading branch information
Reguluz committed Jan 11, 2022
1 parent d4afd1b commit 9b2bb9b
Show file tree
Hide file tree
Showing 9 changed files with 1,152 additions and 246 deletions.
28 changes: 26 additions & 2 deletions Assets/MoonFlowLensFlare/Example/EXPFlareByCell.asset
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,29 @@ MonoBehaviour:
flareSprite: {fileID: 2800000, guid: f27d4e82c44627a4aa1022c088208c0e, type: 3}
fadeWithScale: 0
fadeWithAlpha: 0
spriteBlocks: []
modelCell: {x: 6, y: 6}
spriteBlocks:
- useLightColor: 1
useRotation: 0
index: 2
block:
serializedVersion: 2
x: 0
y: 0
width: 0.5
height: 0.5
scale: 1
offset: 0.61
color: {r: 1, g: 1, b: 1, a: 1}
- useLightColor: 1
useRotation: 0
index: 0
block:
serializedVersion: 2
x: 0
y: 0.5
width: 0.5
height: 0.5
scale: 0.94
offset: -0.9
color: {r: 1, g: 1, b: 1, a: 1}
modelCell: {x: 2, y: 2}
32 changes: 28 additions & 4 deletions Assets/MoonFlowLensFlare/Example/EXPFlareBySpriteEditor.asset
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ MonoBehaviour:
m_Name: EXPFlareBySpriteEditor
m_EditorClassIdentifier:
flareSprite: {fileID: 2800000, guid: 3e5c1addf72b4e44183b2274beecbd11, type: 3}
fadeWithScale: 0
fadeWithAlpha: 0
fadeWithScale: 1
fadeWithAlpha: 1
spriteBlocks:
- useLightColor: 0
useRotation: 0
Expand All @@ -25,6 +25,30 @@ MonoBehaviour:
y: 0.375
width: 0.25
height: 0.125
scale: 1
offset: 0
scale: 0.56
offset: 0.58
color: {r: 1, g: 1, b: 1, a: 1}
- useLightColor: 0
useRotation: 0
index: 6
block:
serializedVersion: 2
x: 0
y: 0
width: 0.5
height: 0.25
scale: 0.72
offset: 0.54
color: {r: 1, g: 1, b: 1, a: 1}
- useLightColor: 0
useRotation: 0
index: 4
block:
serializedVersion: 2
x: 0.75
y: 0.25
width: 0.25
height: 0.125
scale: 17.33
offset: -0.82
color: {r: 0.6132076, g: 0.6132076, b: 0.6132076, a: 1}
Loading

0 comments on commit 9b2bb9b

Please sign in to comment.