selector question #54

Open
byteguitar opened this Issue Jun 14, 2013 · 0 comments

Comments

Projects
None yet
1 participant

why noti is nil
pSpriteB is my cocos2d sprite , collision occur, transfer pSpriteB

code in c++

[[NSNotificationCenter defaultCenter] postNotificationName:@"MS_TRIGGER" object:pSpriteB];

code in lua

waxClass{"luaSensor",CSensor}

function init(self)
self.super:init()
return self
end

function trigger(self,noti)
noti:Output2()

end

noti is nil ? help me:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment