mirror of
https://github.com/BlackMATov/unity-flash-tools.git
synced 2026-01-04 23:46:51 +07:00
visible and blend tests
This commit is contained in:
BIN
Assets/FlashTools/Examples/Animations/Tests/3_visible.fla
Normal file
BIN
Assets/FlashTools/Examples/Animations/Tests/3_visible.fla
Normal file
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c4da17aa249084272a204f641a953043
|
||||
timeCreated: 1457090686
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/FlashTools/Examples/Animations/Tests/4_blends.fla
Normal file
BIN
Assets/FlashTools/Examples/Animations/Tests/4_blends.fla
Normal file
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 04961b2c7e423450788323162d7b30d3
|
||||
timeCreated: 1457090465
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -162,7 +162,7 @@ namespace FlashTools {
|
||||
if ( frame != null ) {
|
||||
for ( var j = 0; j < frame.Elems.Count; ++j ) {
|
||||
var elem = frame.Elems[j];
|
||||
if ( elem.Instance != null ) {
|
||||
if ( elem.Instance != null && elem.Instance.Visible ) {
|
||||
RenderInstance(
|
||||
elem.Instance,
|
||||
elem.Instance.FirstFrame,
|
||||
|
||||
Reference in New Issue
Block a user