Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
kebiao committed May 22, 2018
1 parent 07769ae commit 7b1bf2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/base/components/Test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ class Test(KBEngine.EntityComponent):
def __init__(self):
KBEngine.EntityComponent.__init__(self)
print("+++++++++++++++++++++++name=%s, bb=%i" % (self.name, self.bb))
print("+++++++++++++++++++++++cellData=%s" % self.owner.cellData[self.name])

if hasattr(self.owner, "cellData"):
print("+++++++++++++++++++++++cellData=%s" % self.owner.cellData[self.name])

def onAttached(self, owner):
"""
Expand Down

0 comments on commit 7b1bf2e

Please sign in to comment.