Author Topic: is a sprite I create in playmaker an Instance ?  (Read 422 times)


  • Junior Playmaker
  • **
  • Posts: 50
    • View Profile
is a sprite I create in playmaker an Instance ?
« on: June 05, 2018, 10:40:43 PM »
HI I'm dealing afew issues and need to explain

I need to capture the screen with GUI and place it on a GUI object

I'm using Screen capture manager from the asset store ( the only one that can  capture the GUI ) the data I get from that is a Texture2D object

I convert by sending to a Bolt variable  and bring it back as a Texture

then i convert it to a Sprite and apply a Gui Texture objects in my scene

I do this to 5 different screen captures ( let's say 5 pages ) to 5 gui objects

I have 5 different Texture Variables  ( Page_1,Page2, Page 3,Page 4, Page5 )

Now I'm running into an issue where I have a different variable each step in the chain ( Page1Capture, Page1FromBolt, Page1ConverttoSprite etc)

but when I apply to the final variable let say Page2ConverttoSprite2
ALL the sprites Variables get updated? 

to explain again   when i apply a new texture to GUI page 5 all sprites in the code get updated ?

is the sprite data a Instance?  i think it is because all data related to that instance is getting updated ? and the sprite does not have a name  ?

I was thinking since i sent it to Bolt and back and the converted each image data in it's own Variable at each step in the command chain it is would be isolated  ?

currently very confused how to proceed ??