tweener.SetLoops(-1, LoopType.Yoyo); tweener.OnComplete(delegate() { Debug.Log("testtttttt"); }) When I was at other places, kill the tweener like that: tweener.Kill(false); or tweener.Kill(true); the OnComplete Function not be called. Is this is a Bug?
Not sure if this is a bug or by design. I suspect the latter of course In the AS version, KillTweensOf has a second parameter that will call the onComplete function. Here is a thread about that... http://forums.greensock.com/topic/1932-can-a-killed-tween-still-trigger-oncomplete/ ...
// given: "a composable that will accept 2 values and a reduce function" EmitterProcessor<Integer> source = EmitterProcessor.create(); MonoProcessor<Integer> value = source.reduce(new Reduction()) .subscribeWith(MonoProcessor.create()); // when: "the first value is accepted" source.onNext(...
Because as far as I suspect, this would be a piece of cake to make. Could you perhaps advise how to implement this as an extension to your library? I'm thinking of extending the TimeLine class and add the properties myself. Size is not a concern for me (these days, for who is?...
(function.h:1156) 27 APP_NAME 0x00000001004c486c invocation function for block in facebook::react::RCTMessageThread::runAsync(std::__1::function<void ()>) + 44 (RCTMessageThread.mm:44) 28 CoreFoundation 0x000000019f442254 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20 (CFRunLoop.c:...
// given: "a composable that will accept 2 values and a reduce function" EmitterProcessor<Integer> source = EmitterProcessor.create(); MonoProcessor<Integer> value = source.reduce(new Reduction()) .subscribeWith(MonoProcessor.create()); // when: "the first value is accepted" source.onNext(...
function getFileInfoFromComplete(e) { return $.map(e.getFiles(), function(file) { var info = file.name; // File size is not available in all browsers if (file.size > 0) { info += " (" + Math.ceil(file.size / 1024) + " KB)"; } return info; }).join(", "); } Note ...