Register & Unregister Listener
Napsal: 20 pro 2017, 17:51
82.208.17.18:27104
Ahojte, pracujem na jednom Arcade plugine, a chcem sa opitat ci tu ma niekto skusenosti z registraciou a odregistraciou eventov napriklad
zaregistruj(minihraEvents);
odregistruj(minihraEvents)
a takto by sa to mohlo striedat.
Nechapem preco mam zatial zhotovene 2 hry, pri registracii do onEnable eventy funguju, ale akonahle 1x hru dohram ide dalsia hra, dohrajem a zase sa vrati na tu prvu tak eventy uz nefunguju.
Nechapem tomu nejake rady?
Ahojte, pracujem na jednom Arcade plugine, a chcem sa opitat ci tu ma niekto skusenosti z registraciou a odregistraciou eventov napriklad
zaregistruj(minihraEvents);
odregistruj(minihraEvents)
a takto by sa to mohlo striedat.
Nechapem preco mam zatial zhotovene 2 hry, pri registracii do onEnable eventy funguju, ale akonahle 1x hru dohram ide dalsia hra, dohrajem a zase sa vrati na tu prvu tak eventy uz nefunguju.
Nechapem tomu nejake rady?